On Mon, May 02, 2005 at 01:28:25PM +0100, Roger Leigh wrote:
> If you have the woody versions (5.6.1-8.9), the script might be
> relying on a new Perl feature.  In this case, if you install the
> testing versions of these packages, does the upgrade now work?
> 
> (I'll have to check this with a perl expert.)

You may be on the right track with this:

[EMAIL PROTECTED]:~$ perl -e 'open TEST, "-|", "ls" , "-l" or die; 
while(<TEST>) { print; }'
Can't use an undefined value as filehandle reference at -e line 1.

[EMAIL PROTECTED]:~$ perl -e 'open TEST, "-|", "ls" , "-l" or die; 
while(<TEST>) { print; }'
<directory listing as expected>

Interestingly `perldoc -f open` in the woody version claims to
support "open FILEHANDLE,MODE,LIST", but it seems that should be
"open FILEHANDLE,MODE,EXPR" instead.

Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to