Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Use reference for functions in functions

by AnomalousMonk (Canon)
on Feb 25, 2013 at 23:42 UTC ( #1020584=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub func1 (\$)
    { my $object=shift;
      $object->doSomething;
    }
    
  2. or download this
    >perl -wMstrict -le
    "package Dog;
    ...
    woof
    
    woof woof woof woof woof woof
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-06-26 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.