Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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
    or
    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!


Comment on Re^3: Help with Guessing Game
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2014-09-17 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (80 votes), past polls