I see you are careful to *fix* the value ot $/ before you finish. A better way is to locally scope the changes to $/ using local - then you don't have to remember to fix it. This goes for all the special vars:
# make a block and locally scope a var
{
local $/;
# $/ is now undef so glob a file in
}
# now $/ is back to normal as the changes are scoped to the block abov
+e
Often you have a convenient block to scope within. If not make one as shown above.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|