Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: local and global variable problem

by thezip (Vicar)
on Apr 30, 2014 at 15:59 UTC ( #1084523=note: print w/replies, xml ) Need Help??


in reply to local and global variable problem

Howdy PublicAccess

Why are you looping on the same @aminos array? This is a little bizzarre.

For troubleshooting purposes, before you get into your outer for loop, could you do something like:

use Data::Dumper; print Dumper(\@aminos);

... and then show us what the output is? I suspect you'll need to change the way you're accessing the @aminos array...


*My* tenacity goes to eleven...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-11-21 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (250 votes). Check out past polls.

    Notices?