The statement: 'The code below, in Perl 5.8.8 and 5.10.9 prints 1\n three times' is incorrect and confusing... I'm guessing you are confusing the different versions of perl...
Running 'the code below':
Use of uninitialized value in print at t.pl line 24. Undefined subroutine &main::_ called at t.pl line 28.
Use of -l on filehandle _ at t.pl line 24. Use of uninitialized value in print at t.pl line 24. Undefined subroutine &main::_ called at t.pl line 28.
Use of -l on filehandle _ at t.pl line 24. Use of uninitialized value in print at t.pl line 24. Undefined subroutine &main::_ called at t.pl line 28.
Use of -l on filehandle _ at t.pl line 24. Use of uninitialized value in print at t.pl line 24. Undefined subroutine &main::_ called at t.pl line 28.
1 1 1
1 1 1
In reply to Re: Restoring the magic to the _ filehandle in Perl 5.8.9
by Animator
in thread Restoring the magic to the _ filehandle in Perl 5.8.9
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |