Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: hash in perl

by blindluke (Hermit)
on Jan 24, 2015 at 20:41 UTC ( [id://1114387]=note: print w/replies, xml ) Need Help??


in reply to hash in perl

Please use the  <code> </code> tags around your code. It's barely readable.

This line is probably the cause of your problem:

foreach my {$line[10]}(keys %data) {

... but it's hard to suggest anything when we don't know what your code is supposed to do.

Take a look at the example of correct foreach use in the documentation that came with your Perl.

- Luke

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2025-12-06 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (85 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.