Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Modules as executable scripts?

by graff (Chancellor)
on Jun 14, 2007 at 21: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
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 rifling through the Monastery: (4)
As of 2021-06-16 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (81 votes). Check out past polls.

    Notices?