Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^6: Perl is not Dynamically Parseable

by blokhead (Monsignor)
on Oct 14, 2009 at 02:57 UTC ( #801010=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
      eval "sub foo {}" if rand() < 0.5;
    }
    foo();
    
  2. or download this
    if (rand() < 0.5) {
      1 while 1;
    }
    
  3. or download this
    BEGIN {
      my $x = "... arbitrary perl code ...";
      eval "sub foo {}" if eval $x;
    }
    foo();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-10-24 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls