[Techtalk] using shell commands in perl scripts

Berenice showercurtain2000 at yahoo.com
Sat May 24 19:47:47 EST 2003

I've just started perl as part of my course and I'm wondering how you
can use commands such as rm, mkdir and less in perl scripts.  I've
looked at perldocs shell:

but I don't understand what it's talking about at the second half of
the the page: 

>It actually exports an AUTOLOAD to the current package (and
uncovered a >bug in Beta 3, by the way). Maybe the usual usage should

>    use Shell qw(echo cat ps cp);  

Does this mean if I want to use shell commands, my script should have
"use Shell qw(all the shell commands I want to use);" at the start of
the script?


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

More information about the Techtalk mailing list