Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 imbibing at the Monastery: (4)
As of 2024-05-25 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found