Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

RFC: Adding variable name to warning "Use of uninitialized value ??? in ..."

by LanX (Bishop)
on Apr 15, 2017 at 01:17 UTC ( #1187988=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
    #aoh_ref:  $a->[$b]{'a  b'}
  2. or download this
    Name "main::OUT" used only once: possible typo at /home/lanx/pm/warn_u line 141.
    *** TESTING["hash_ref", "\$h->{a}"] at /home/lanx/pm/ lin
    +e 138, <DATA> line 2.
    Use of uninitialized values $$a[0]{'a'} $$a[0]{'a'} in concatenation (
    +.) or string at (eval 110) line 2, <DATA> line 12.
    Use of uninitialized values $$a[0]{'a'} $$a[0]{'a'} in printf at (eval
    + 113) line 2, <DATA> line 12.
    Use of uninitialized values $$a[0]{'a'} $$a[0]{'a'} in sprintf at (eva
    +l 116) line 2, <DATA> line 12.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://1187988]
Approved by Athanasius
Front-paged by kcott
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-06-21 11:07 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.