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

Modules as executable scripts?

by graff (Chancellor)
on Jun 15, 2007 at 01:24 UTC ( #621378=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        print do_something( @ARGV ),"\n\n";
    }
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    use Runnable qw/do_something/;
    
    print "I'm hoping that this test program ".do_something( @ARGV )."\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-01-27 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?