Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl syntax 1

Status
Not open for further replies.

Tdlearner

Technical User
Jun 17, 2004
13
US
Hi All,

Can anyone explain the following perl code implemented as
a part of KSH script ?


It increments the counter for env_var but where is the loop ? Is it a special syntax ?

# abc.ksh

perl -e
$ENV{env_var}++;
do
abc.pl > abc.dat

thanks
 
I guess the key part is "do". It tells the script to run the abc.pl program and output results to the abc.dat file.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top