Or am I missing something here?my $body; { local $/=undef; open MSGBODY, "<$file" or die "Could not open $file: $!\n"; $body=<MSGBODY>; # slurp message body close MSGBODY; } for $member (keys %CONTACT) { ... print $fh $body; ... }
CU
Robartes-
In reply to Re: Repeated File Opens Inefficient?
by robartes
in thread Repeated File Opens Inefficient?
by lacertus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |