theroninwins has asked for the wisdom of the Perl Monks concerning the following question:
I read the lines into @saved (that works) but the rest doesn't and it overwrites the lines aas well.foreach $line(@saved) { $tmp=s/\|/\=/,$line; @sort=$tmp; } open OUTPUT, ">>ipmiinfo.txt"; print OUTPUT @sort, "\n"; close OUTPUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting and saving IPMI Infos
by Melly (Chaplain) on Mar 22, 2006 at 09:20 UTC | |
by theroninwins (Friar) on Mar 22, 2006 at 09:38 UTC | |
|
Re: Getting and saving IPMI Infos
by timos (Beadle) on Mar 22, 2006 at 09:12 UTC | |
by chargrill (Parson) on Mar 22, 2006 at 19:46 UTC |