Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Technique for executable modules

by tlhackque (Beadle)
on Feb 04, 2019 at 15:31 UTC ( [id://1229359]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    package TL::MyPackage;
    ...
        exit();
    }
    1;
    
  2. or download this
      mkdir -p /opt/sbin
      cp -p mycommand /opt/sbin/
      mkdir -p /usr/lib/perl5/site_perl/5.99.0/TL
      ln -s ../../../../../../opt/sbin/mycommand \
           /usr/lib/perl5/site_perl/5.99.0/TL/MyModule.pm
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-18 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found