Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 about the Monastery: (9)
As of 2014-12-19 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (74 votes), past polls