Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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


Comment on Re: Shell script with PERL

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-09-18 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (105 votes), past polls