Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Help with Guessing Game

by ww (Bishop)
on May 11, 2013 at 13:45 UTC ( #1033117=note: print w/replies, xml ) Need Help??

in reply to Re^2: Help with Guessing Game
in thread Help with Guessing Game

  1. I don't understand the intent of your first sentence here. Are you objecting that the PM solution offered (seems to you) to vary from your instructor's directions? If so, trust choroba's trouble-shooting. Push (see also next graf) allows you to add new elements to an array. When inside a loop, assigning a value to the array REPLACES whatever was in the array on the last iteration of the loop.
  2. Perhaps your instructor mentioned using your command line to obtain local help;
    C:\> perldoc -f push
    C:\> perldoc -f grep
There are many more sources of help local to your computer. See, for instance, perldoc perldoc and many others.

If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033117]
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-02-25 01:16 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (364 votes). Check out past polls.