Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Can a hash self reference?

by tcf03 (Deacon)
on Jul 01, 2005 at 15:25 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found