in reply to Re: Writing a new file in Perl
in thread Writing a new file in Perl
The {} isn't needed here
print {$out} "$ip\n" if defined $ip;
You can write print $out "$ip\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Writing a new file in Perl
by daxim (Curate) on Jul 11, 2012 at 14:40 UTC |