Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Location of 'use' statements

by Juerd (Abbot)
on Apr 19, 2003 at 14:16 UTC ( #251659=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Foo::Bar quux => ${'VERSION'};
    use strict;
    
  2. or download this
    package Example;
    use Exporter::Tidy _map => { foo => \$foo };
    ...
    my $foo;
    
    # silently making $Example::foo exportable 
    
  3. or download this
    package Example;
    use strict;
    ...
    my $foo;
    
    # Global symbol "$foo" requires explicit package name ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (18)
As of 2015-07-06 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls