Hello Terry,
I think you could use the sprintf function. The pattern %2d ensures that each element
from the array is two digits using 0 as the pad.
With the following I ended up with 120307 which shows me that it is padding each array
element with 2digits.
I think this may get you off into a goo
uot;;
open (PING, "$cmd |") or die("Problem somewhere. $!");
my @pings = ;
close PING;
foreach (@pings) {
print;
}
Scott Purcell
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 4:02 PM
To: Perl-Unix-Users
Subject