- or download this
while (<>) {
do_stuff_to $_;
}
...
for (@ARGV) {
do_stuff_to $_;
}
- or download this
while (<*>) {
do_stuff_to $_;
...
foreach (@dir) {
Do_your_thing $_;
}
- or download this
open (FH, ">/temp/tempfile");
print FH $temporary_data;
- or download this
my $tempdir = "/temp/";
my $tempfile = "tempfile";
and then
open FH "$tempdir$tempfile";