Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Source filters in eval/require

by liz (Monsignor)
on Oct 02, 2003 at 21:12 UTC ( #296091=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Foo.pm
    package Foo;
    ...
            $status;
        } );
    } #import
    
  2. or download this
    # bar
    use Foo;
    ...
    }
    #eval $source;  # source is not filtered  ;-(
    eval 'use Foo;'.$source;  # even with importing again, source is not f
    +iltered  ;-(
    
  3. or download this
    # bar2
    print "Just Another Perl Hacker",$/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://296091]
Approved by jdtoronto
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-08-21 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls