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

How relevant is the order of 'use's ?

by Krambambuli (Curate)
on Oct 20, 2016 at 11:47 UTC ( [id://1174355]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Demo1;
    
    ...
    }
    
    1;
    
  2. or download this
    package Demo2;
    
    ...
    };
    
    1;
    
  3. or download this
    
    #!/usr/bin/perl
    ...
    print "\$SUCCESS: $SUCCESS\n";
    
    exit;
    
  4. or download this
    Bareword "SUCCESS" not allowed while "strict subs" in use at ./demo.pl
    + line 9.
    Execution of ./demo.pl aborted due to compilation errors.
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    print "\$SUCCESS: $SUCCESS\n";
    
    exit;
    
  6. or download this
    SUCCESS: 0
    $SUCCESS: 1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1174355]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found