* Andy Lester <[EMAIL PROTECTED]> [070519 21:35]:
> Do it this way:
>
> my $file_as_string = do {
> open( my $fh, $filename ) or die "Can't open $filename: $!";
> local $/ = undef;
> <$fh>;
> };Andy, I am confused by the use of "my $fh" in the open command. By what mechanism is $fd assigned a value? RLH _______________________________________________ Houston mailing list [email protected] http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/
