On Fri, 01 Aug 2008 10:55:58 -0600, Tom Christiansen <tchrist@perl.com>
wrote:
> *FOO = sub { local $~ = "FOO"; write; };
> format FOO =
>
> Mind the gap!
>
> .
Not that I ever missed it, but watch ...
$ perl -de0
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(-e:1): 0
DB<1> use Devel::Peek;
DB<2> $FOO = 1;
DB<3> @FOO = (2, 3);
DB<4> %FOO = (4 => 5, 6 => 7);
DB<5> format FOO =
syntax error at (eval 21)[/pro/lib/perl5/5.10.0/perl5db.pl:638] line 2, near "format FOO ="
--
H.Merijn Brand Amsterdam Perl Mongers http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Previous