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

Re: Source filters in eval/require

by BrowserUk (Pope)
on Oct 03, 2003 at 01:03 UTC ( #296134=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    'delete $INC{"Foo"}; use Foo;'
    
  2. or download this
    package Filter::Test;
    use Filter::Simple;
    ...
    ;
    
    print 'Filter::Test loaded';
    
  3. or download this
    #! perl -slw
    use strict;
    ...
    eval "print 'Just another perl hacker'";
    
    #require 'My/filtertest.pm';
    
  4. or download this
    package My::filtertest;
    
    ...
    eval "print 'Just another perl hacker';";
    
    1;
    
  5. or download this
    P:\test>296091
    Filter::Test loaded
    ...
            (Do you need to predeclare PRINT?)
    
    P:\test>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-04-25 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (586 votes), past polls