Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: use and require inside subs

by tachyon (Chancellor)
on Nov 03, 2004 at 01:00 UTC ( #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
Node Status?
node history
Node Type: note [id://404801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2020-08-13 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (68 votes). Check out past polls.

    Notices?