in reply to Re^3: stronger than eval?
in thread stronger than eval?
Lifted this from the open docs.
but I get aopen OLDERR,">&",\*STDERR or die "Can't dup STDERR: $!"; open STDERR,'>>',"foo.out" or die "Can't redirect STDERR: $!"; eval 'use Cache::File'; open STDERR, ">&OLDERR" or die "Can't dup OLDERR: $!";
Is there another way to express the last open, or do I have to do the local "no warnings" thing that I read about a couple times many years ago?Name "main::OLDERR" used only once: possible typo...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: stronger than eval?
by cephas (Pilgrim) on Sep 22, 2006 at 00:18 UTC |