Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Another Dumb Noob Question - Arrays & Scalar Variables

by roboticus (Chancellor)
on Mar 07, 2011 at 05:06 UTC ( [id://891756]=note: print w/replies, xml ) Need Help??


in reply to Another Dumb Noob Question - Arrays & Scalar Variables

jdlev:

Thanks for making the effort of making your code clear enough to read. Unfortunately, you worked too hard to do it. You could've just put <c> before your code and </c> after it, and it would all be formatted nicely. Just so you know...

Anyway, as ikegami mentions, you didn't assign anything to $fdr. Since a variable is undefined until you assign something to it, then you need only assign the proper value to it before you use it. So perl is just letting you know that you're reading (and presumably using) a value that you haven't defined yet.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: Another Dumb Noob Question - Arrays & Scalar Variables

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2024-04-16 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found