Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Convert Shell script to Perl

by Corion (Pope)
on Oct 10, 2011 at 13:28 UTC ( #930630=note: print w/ replies, xml ) Need Help??


in reply to Convert Shell script to Perl

What you posted is not valid Perl. Running what you think your Perl script is will make Perl tell you so. Please correct your script. Maybe you want to read system, but before that, also do read perlintro and perlsyn.

Perl is not a shell or shell-alike language.


Comment on Re: Convert Shell script to Perl
Re^2: Convert Shell script to Perl
by akrrs7 (Acolyte) on Oct 10, 2011 at 13:51 UTC
    Hello... I am really new at Perl...as you've surmised. I have read the perlintro document but am still confused on how to set environment variables. Thanks...

      You are confused about so many things that it does not make sense to give you small pointers. You need to take a step back and start learning Perl. See the books section of learn.perl.org, and maybe the Modern Perl book by chromatic, if you're in need of a free book and already know how to program in some other programming language.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-12-22 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (131 votes), past polls