in reply to Getting and saving IPMI Infos
You have three problems in your script
$saved[0] = 'CPU 1 |3000 RPM |ok'; $saved[1] = 'Power Supply |unspecified |cr'; open OUTPUT, ">>ipmiinfo.txt"; foreach $line(@saved){ $line =~ s/\s*\|\s*/\=/g; print OUTPUT "$line\n"; } close OUTPUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting and saving IPMI Infos
by theroninwins (Friar) on Mar 22, 2006 at 09:38 UTC |