more useful options | |
PerlMonks |
Is it hash??by dideod.yang (Sexton) |
on Jun 26, 2018 at 01:18 UTC ( [id://1217414]=perlquestion: print w/replies, xml ) | Need Help?? |
dideod.yang has asked for the wisdom of the Perl Monks concerning the following question: I don't know what is "$test -> {'RecordType'} = UNKNOWN;". At first I think that is hash. but it is not hash becuase "print Dumper(\%test)" didn't operate.... My first question is What is "$test -> {'RecordType'} = UNKNOWN;". is it hash? or just define variable?? My second question is about below script. I understand why print "case 1", but I don't understand abour case 2. I think case 2 can't operate becasue ifcondition is false.. can you explain about that?? My last question is What is different between $test -> {'RecordType'} = UNKNOWN; and $test -> {'RecordType'} = "UNKNOWN";. as generally I define some value with "" but that list didn't use "" so I wonder what is different between them. please help me...
2018-06-27 Athanasius added paragraph tags and fixed code tags
Back to
Seekers of Perl Wisdom
|
|