#1 Perl warnings

serious
closed-fixed
Core (10)
5
2001-02-20
2000-10-10
No

I get the following warnings after upgrading from 1.07 to 1.08:

defined(@array) is deprecated at /usr/local/perl/lib/site_perl/5.6.0/Expect.pm l
ine 913.
(Maybe you should just omit the defined()?)

Argument "" isn't numeric in numeric eq (==) at /usr/local/perl/lib/site_perl/5.
6.0/Expect.pm line 619.

Discussion

  • Roland Giersig

    Roland Giersig - 2000-11-02
    • assigned_to: nobody --> rgiersig
    • milestone: 100100 --> serious
    • labels: 100100 --> Core
    • status: open --> open-later
     
  • Roland Giersig

    Roland Giersig - 2000-11-02

    This is due to the upgrade to perl 5.6, which adds a warning for the wrong construct `defined(@array)'. The bug also exists in Expect 1.07. This will be fixed in the next release of Expect (which may take a while, as I intend a complete rewrite).

     
  • Roland Giersig

    Roland Giersig - 2001-02-20
    • status: open-later --> closed-later
     
  • Roland Giersig

    Roland Giersig - 2001-02-20
    • status: closed-later --> closed-fixed
     
  • Roland Giersig

    Roland Giersig - 2001-02-20

    Fixed in v1.11

     

Log in to post a comment.