> Please always 'use strict' and 'use warnings', and consequently declare > all of your variables. That way most straightforward problems will be > solved my Perl before ever reaching his list.
Thanks, I will remember to do so for future. > It is better to open a pipe to a child process running your command, > rather than read all the output into an array and process that. I > suggest something like the program below, which builds a hash of the > device/disk relationship and prints it out at the end. > > HTH, > > Rob Thanks Rob, this works fantastic! Regards, Wernher Eksteen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/