Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: calling perl subroutine from shell

by Tomte (Priest)
on Nov 06, 2006 at 08:52 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found