[EMAIL PROTECTED] [DD], on Wednesday, June 29, 2005 at 06:39 (-0400) contributed this to our collective wisdom:
DD> open(INPUT, "rrd_input.txt"); DD> open(OUTPUT, ">rrd_update.cmd"); use 'or die $!;' DD> while (INPUT) DD> { DD> ($ServerName,$DS,$Time,$Value) = Split (/\T/,$Data,4); split(/\t/,$_,4); should work, not tested. Split != split, \t != \T, where you defined $Data ? -- How do you protect mail on web? I use http://www.2pu.net [Bother! said Pooh, as Quark cheated him.] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>