[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

keys w/o parens



  DB<1> use Errno
  DB<2> print scalar keys %ENV
30
  DB<3> print scalar keys %!
Warning: Use of "keys" without parens is ambiguous at (eval 8) line 2, <IN> line 6.
        eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
print scalar keys%!;

;' called at blib/perl5db.pl line 1262
        DB::eval called at blib/perl5db.pl line 1156
        DB::DB called at -e line 1
83

What's that all about?  Is this a perl5db.pl issue, or a perl one?

--tom


Follow-Ups from:
Gurusamy Sarathy <gsar@ActiveState.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]