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

Re^3: Taking reference to function

by ELISHEVA (Prior)
on Apr 16, 2009 at 06:24 UTC ( #757854=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    sayHello();
    eval q{sub sayHello { print "Bonjour, le monde!\n"; }};
    sayHello();
    
  2. or download this
    Hello, world!
    Subroutine sayHello redefined at (eval 1) line 1.
    Bonjour, le monde!
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-09-20 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls