laziness, impatience, and hubris | |
PerlMonks |
Load fileby CougarXR7 (Acolyte) |
on Jul 08, 2019 at 19:03 UTC ( [id://11102562]=perlquestion: print w/replies, xml ) | Need Help?? |
CougarXR7 has asked for the wisdom of the Perl Monks concerning the following question:
Hope I did not offend anyone earlier. I do not know much about perl, I could tell you my story but I do not want to take up your forum.
I am trying access the elements in an array. When the program starts it load from a file, ciphers. # load the list with ciphers from the config file if no ciphers were detected.
supportedgames.pl When I do this, $self->check_cipher_count(); the count is 2 not 7 I cannot get perl to print anything concerning that array. Always errors, always! #print Dumper $rx->{game}->1->{label}; #print Dumper $self->{game}->1->{label}; #print Dumper $rx->{game}->[0]->{cipher}; It's like the Perl code does not know that jetfighter4 is JetFighter IV is jetfighter4 Hope someone can help me learn how to access an array in perl! Thanks!
Back to
Seekers of Perl Wisdom
|
|