reading a file to the end regardless of result



is there a command to continue with a process even if the last line didn't
have the value you were after?

ie if I was reading each line in a file and placing the output on the
console, and I wanted to continue even if there were some whitespaces what
would I have to amend in this prog:

open(file, "file.txt");

while( )
{
my $filevalue = <file>;

print $filevalue;
}


.



Relevant Pages

  • Re: Open a File using Create Process in VB.net 2003
    ... that was the problem the prog. ... didn't support opening ... files from a command line. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: strange float behaviour/sensitivity
    ... You can use the command below to make it work: ... prog((grid result) ... Prev by Date: ...
    (comp.cad.cadence)
  • Re: code for closing form
    ... Not sure I'm reading from the same page but how about; ... writing the code for the command button on click to be ... Prev by Date: ...
    (microsoft.public.access.forms)
  • Re: Running mplayer from terminal (simple question)
    ... > If I do that then open does exactly what the man command says - it ... will open the given file in the given app. ... What man page are you reading? ... Prev by Date: ...
    (comp.sys.mac.system)
  • int2str
    ... Everyone i having a problem while reading the txt file which is ... I used the command to open a file which has only one string by the ... bobby. ... Prev by Date: ...
    (comp.soft-sys.matlab)