Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-10-30 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls