Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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
Replies are listed 'Best First'.
Re^2: Convert Shell script to Perl
by akrrs7 (Acolyte) on Oct 10, 2011 at 13:51 UTC
    Hello... I am really new at 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, 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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2015-10-07 05:36 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (170 votes), past polls