Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: $obj->method v.s. $obj->method()

by ikegami (Patriarch)
on May 09, 2009 at 16:24 UTC ( [id://763054]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -le"$,=', '; print qw( a b c ) x 3"
    a, b, c, a, b, c, a, b, c
    
    >perl -le"$,=', '; print sub { qw( a b c ) }->() x 3"
    ccc
    
  2. or download this
    >perl -le"for my $x qw( a b c ) { print $x }"
    a
    b
    c
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://763054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-16 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found