Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Help with Perl
1
Name:
Anonymous
2008-04-23 10:31
How do I use the -> operator?
19
Name:
Anonymous
2008-04-23 15:06
>>1
Perl has no
->
operator. However, it has
X
->[
Y
]
, which is equivalent to
${X}[Y]
;
X
->{
Y
}
, which is equivalent to
${X}{Y}
;
X
->(
Y
)
, which is equivalent to
&{X}(Y)
; and
X
->foo(
Y
)
, which is a method call.
oh god this bbcode is horrible
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List