Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Source filters in eval/require

by liz (Monsignor)
on Oct 02, 2003 at 21:12 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-20 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found