Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl archeology: Need help in refactoring of old Perl code that does not use strict

by Corion (Pope)
on Nov 14, 2017 at 08:45 UTC ( #1203338=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package x;
    use Exporter 'import';
    our @EXPORT_OK = ('a', 'b', 'c');
    
  2. or download this
    #main_script
    use x 'a', 'b'; # makes a() and b() available in the main namespace
    
  3. or download this
    #!perl -w
    use strict;
    ...
    sub foo_2 {}
    
    use strict;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2019-12-15 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?