Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by moritz (Cardinal)
on May 09, 2009 at 11:05 UTC ( [id://763027]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -ce '$a->method'
    $a->method;
    ...
    $ perl -MO=Deparse -ce '$a->method()'
    $a->method;
    -e syntax OK
    
  2. or download this
    $ perl -MO=Concise -ce '$a->method()'
    7  <@> leave[1 ref] vKP/REFC ->(end)
    ...
    4           <#> gvsv[*a] s ->5
    5        <$> method_named[PV "method"] ->6
    -e syntax OK
    
  3. or download this
    $ perl -MO=Concise -ce '$a->method' > a
    -e syntax OK
    ...
    -e syntax OK
    $ diff a b | wc -l
    0
    
  4. or download this
    $a->method / 1 # /;
    $a->method() / 1 # /;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-24 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found