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

Re: calling perl subroutine from shell

by Tomte (Priest)
on Nov 06, 2006 at 08:52 UTC ( #582402=note: print w/ replies, xml ) Need Help??


in reply to calling perl subroutine from shell

what you asked for is:

perl -Ma -e 'a::clear_scr();'
This starts a new perl process, loads the module a.pm, given it#s location is in @INC, and calls the subroutine clear_scr.

I have a gut feeling that this is not want you really want, though - if I'm right, you'll have to clarify your intentions.

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus


Comment on Re: calling perl subroutine from shell
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-29 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls