Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: External Dependencies on Unix Commands

by runrig (Abbot)
on Jun 08, 2002 at 17:01 UTC ( [id://172806]=note: print w/replies, xml ) Need Help??


in reply to External Dependencies on Unix Commands

Do you really need to access all those commands? E.g. perl can do anything awk can do, you might use DBI/DBD::Oracle instead of sqlplus, File::Find instead of find; opendir, readdir, and maybe stat or one of the -X operators (I see more code that does 'ls -l' and cuts out the file size than I care to) instead of ls; @INC and -x instead of which...

I do write scripts occasionally which access unix commands, but the last time I did that, the command was 'patch', and there didn't seem to be anything on CPAN, and it saved alot of perl programming. And maybe if you have a sqlplus script which outputs a formatted report, I might keep that, since it would be alot of work to redo it in perl. Otherwise I'd look at what you really need.

  • Comment on Re: External Dependencies on Unix Commands

Log In?
Username:
Password:

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

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

    No recent polls found