- or download this
while (<LOGFILE>) {
## do something with $_
}
- or download this
foreach ($f->list) {
## do something with $_
}
- or download this
#!perl
...
foreach ($f->list) { ##problem??
print "$_\n";
}
- or download this
package List;
...
$path = cwd unless @_ > 1;
$self->{path} = $path;
}