Substitution on a filehandle? It does not execute the substitution on the file content, though. You can verify it withopen my $ih, '<', $fin or die "cannot open $fin for reading, $!"; $ih =~ s/\n+/\n/g;
$ih =~ s/\n+/\n/g or warn "No subst\n";
In reply to Re: Sub routines
by choroba
in thread Sub routines
by velocitymodel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |