[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5227: New perl breaks HANDLE->input_record_separator() method.



-----BEGIN PGP SIGNED MESSAGE-----

Rob Browning, in an immanent manifestation of deity, wrote:
>The new perl seems to break the input_record_separator method which in
>turn breaks dftp.
>
>541$ perl -e 'use FileHandle;' \
>          -e 'open(ZERO, "</dev/zero");' \
>          -e 'ZERO->input_record_separator('\n');'
>Can't locate object method "input_record_separator" via package "IO::Handle" at -e line 1.

Actually this works fine if you use IO::Handle:

{2}[2]~ perv:-) perl -e 'use IO::Handle;' \
     -e 'open(ZERO, "</dev/zero");' \
     -e 'ZERO->input_record_separator('\n');'
{2}[0]~ perv:->

Yes, it's breaking old behaviour.  So, I need to fix this.  But this is
a temporary fix.

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMnsbZY4wrq++1Ls5AQFG3gP/ZBOYriqOeljylusgxZ150dHf/e2gUZIy
KIwDNF9tS8XUSBqqRhlCJ9CPg3VCZRKBQL2/C2wMHXq7hL1HsWVkZzCb8Fn0lIJf
0e5j6HITCcyzG3w6NFRLvYLEcaEfScTJJnmxy31Wk+UBvghMnQpKvVjeW+nE8uS8
rnLHFdXPhVU=
=dLBJ
-----END PGP SIGNATURE-----

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: