Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Taking reference to function

by ELISHEVA (Prior)
on Apr 16, 2009 at 06:24 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://757854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found