in reply to Restoring the magic to the _ filehandle in Perl 5.8.9
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9
by ikegami (Patriarch) on Jan 27, 2010 at 23:11 UTC |