Re: function call help

2008-07-09 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > > I facing one issue in Perl script. I am executing one command in Perl > script and taking the output of that command in one array. Now I want > to execute some more commands on each value of the array. > > But the problem is that I am passing each value of the arra

RE: function call help

2008-07-09 Thread Irfan.Sayed
tewart Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 7:45 PM To: Sayed, Irfan; beginners@perl.org Cc: Stewart Anderson Subject: RE: function call help Lock is a perl function http://perldoc.perl.org/functions/lock.html #! /usr/bin/perl # Perl script to ta

RE: function call help

2008-07-09 Thread Stewart Anderson
Lock is a perl function http://perldoc.perl.org/functions/lock.html #! /usr/bin/perl # Perl script to take the backup of critical clearcase data @vob_lst=(qw(test test1 test2)); foreach $a (@vob_lst) { lockvob($a); } sub lockvob { local ( $loc