* Andy Lester <andy at petdance.com> [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