- or download this
open (CFGFILE, "ship.cfg") || die $!;
while (my @TMP=<CFGFILE>) {
...
}
}
}
- or download this
open CFGFILE, "< ship.cfg" or die "read ship.cfg: $!";
@hosts =
...
<CFGFILE>;
}
close CFGFILE;
- or download this
open CFGFILE, "< ship.cfg" or die "read ship.cfg: $!";
while (<CFGFILE>) {
...
push @hosts, $1;
}
close CFGFILE;