- or download this
while (<$foo>) # Read in a line to $_
{
print <$foo>; # Print the rest of the file
}
- or download this
while (<$foo>) # Read in a line to $_
{
print; # Print $_
}
- or download this
print while (<$foo>); # Read in lines and print them - or download this
print <$foo>; # Print all lines from the file - or download this
# -- IO Implementation --------------------------------
...
print <FILE>;
close (FILE);