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 ( #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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2023-03-20 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?