Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (7)
As of 2014-12-21 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls