Re: Net::Telnet - Variable won't change

2003-08-14 Thread Jeff Westman
--- SilverFox <[EMAIL PROTECTED]> wrote: > Jeff Westman wrote: > > > > > --- SilverFox <[EMAIL PROTECTED]> wrote: > >> Hey can someone help me figure out why the value of $file_exists won't > >> change even when the file is mssing Thx. > >> > >> #!/usr/bin/perl -w > >> $out="/home/laptop/sc

Re: Net::Telnet - Variable won't change

2003-08-14 Thread Jeff Westman
--- SilverFox <[EMAIL PROTECTED]> wrote: > Hey can someone help me figure out why the value of $file_exists won't > change even when the file is mssing Thx. > > #!/usr/bin/perl -w > $out="/home/laptop/scripts/perl/logs/resetmf.log"; > open OUT, ">>$out" or die "Unable to open $out :$!"; > >

Re: Net::Telnet - Variable won't change

2003-08-14 Thread SilverFox
Jeff Westman wrote: > > --- SilverFox <[EMAIL PROTECTED]> wrote: >> Hey can someone help me figure out why the value of $file_exists won't >> change even when the file is mssing Thx. >> >> #!/usr/bin/perl -w >> $out="/home/laptop/scripts/perl/logs/resetmf.log"; >> open OUT, ">>$out" or die "

Net::Telnet - Variable won't change

2003-08-14 Thread SilverFox
Hey can someone help me figure out why the value of $file_exists won't change even when the file is mssing Thx. #!/usr/bin/perl -w $out="/home/laptop/scripts/perl/logs/resetmf.log"; open OUT, ">>$out" or die "Unable to open $out :$!"; @site=("Machine1","Machine2"); #telnet use Net::Telnet; $