
Stefanik
User
Jan 3, 2013, 6:59 AM
Views: 565
|
|
Re: [FishMonger] Print Hash Keys
|
|
|
Thanks to all of you Is it possible to have an hash key with character empty (" " or "") ? In that case to erase it, should I use a loop: if (($value1 != " ") && ($value1 != "")) { my $KeyHa = $value1; my $ValHA = 1; $Ha_ha{$KeyHa} = $ValHA; } Or is it possible to execute the check while I assign the variable to the Hash-key?
(This post was edited by Stefanik on Jan 3, 2013, 7:08 AM)
|