Aug 8, 2007 #1 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
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
Aug 8, 2007 1 #2 KevinADC Technical User Jan 21, 2005 5,070 US 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! Upvote 0 Downvote
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!
Aug 9, 2007 Thread starter #3 Tdlearner Technical User Jun 17, 2004 13 US Thnaks Kevin. Upvote 0 Downvote