Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Shell script with PERL

by blue_cowdawg (Monsignor)
on Nov 21, 2012 at 15:11 UTC ( #1004939=note: print w/replies, xml ) Need Help??

in reply to Shell script with PERL

      can any one suggest that how to use shell script with perl?

My first reaction as a Perl instructor is "don't." Unless you are pressed for time and the script is overly complex (bad idea in the first place) you should try translating the script's functionality to Perl.

What you've failed to communicate is what kind of script it is. Is it a Winbloze ".BAT" file? Is it a *nix shell script? (I've heard winbloze admins refer to BAT files as shell scripts.)

If you are talking about *nix shell scripts then most of the functionality you can obtain within a Bash, KSH, CSH or whatever script is available within Perl plus some that isn't.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004939]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-04-26 13:50 GMT
Find Nodes?
    Voting Booth?