Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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: (17)
As of 2015-07-28 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls