Perl: the Markov chain saw | |
PerlMonks |
Re: Removing files from remote serverby pvaldes (Chaplain) |
on Apr 22, 2013 at 14:03 UTC ( [id://1029880]=note: print w/replies, xml ) | Need Help?? |
nah, forget it, Salva and CountOrlok had explained much better the idea mmh -> my $HOSTS = <MYFILE>; myfile is a filehandle (scalar) if you want an array from a file (my @HOSTS = <MYFILE>;) use tie. You should also to close the filehandle when you finish
In Section
Seekers of Perl Wisdom
|
|