Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Can a hash self reference?

by tcf03 (Deacon)
on Jul 01, 2005 at 15:25 UTC ( #471751=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    print "$hash{2}{LOCATIONA} = location a\n";
    print "$hash{2}{LOCATIONB} = location b\n";
    
  2. or download this
    Use of uninitialized value in concatenation (.) or string at test2 lin
    +e 7 (#1)
        (W uninitialized) An undefined value was used as if it were alread
    +y
    ...
    
    //my_file.txt = location a
    //my_file.txt = location b
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://471751]
Approved by Limbic~Region
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-10-24 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?