Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: use and require inside subs

by tachyon (Chancellor)
on Nov 03, 2004 at 01:00 UTC ( [id://404801]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (0) {
        print "This block is happening!\n";
    ...
    DynaLoader.pm
    AutoLoader.pm
    Win32.pm           <------- Perl sees all uses (almost)
    
  2. or download this
    [root@devel3 root]# cat test.pl
    #!/usr/bin/perl -wT
    ...
    Can't locate Win32/TieRegistry.pm in @INC (@INC contains: /usr/local/l
    +ib/perl5/5.6.2/i686-linux /usr/local/lib/perl5/5.6.2 /usr/local/lib/p
    +erl5/site_perl/5.6.2/i686-linux /usr/local/lib/perl5/site_perl/5.6.2 
    +/usr/local/lib/perl5/site_perl) at ./test.pl line 4.
    BEGIN failed--compilation aborted at ./test.pl line 4.
    [root@devel3 root]#
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found