Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Nth position of array determind by <>

by ww (Archbishop)
on Apr 23, 2016 at 10:39 UTC ( [id://1161301]=note: print w/replies, xml ) Need Help??


in reply to Nth position of array determind by <>

You're using the wrong sigil, using an inapropriate comment marker, and providing nothing to prompt the user to enter a value. And that's just for starters.

This looks like homework, by someone who hasn't bothered to study the text being used for the class. Please do so, and if it suggests something like this, then study Learning Perl.

we expect SOPW to seek wisdom, not to ask us to do so for them.


Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.
  • Comment on Re: Nth position of array determind by <>

Replies are listed 'Best First'.
Re^2: Nth position of array determind by <>
by RuZombieSlayer (Novice) on Apr 24, 2016 at 12:24 UTC
    I'm sorry you feel so strongly, but i am not a student set homework... i'm at the end of my gcse years and learning perl as a "hobby" i am trying to teach myself and without much aid its quiet difficult and have learnt alot of the last week or so. Im sorry i am not very good at writing closed code but hey. The Standard input doesnt matter, surely you got the idea that there was a value in a string im trying to use that to call up a value in an array???! So as for you many accusations that were all wrong, could you actually give me some usefull advise instead of shoving your own head so far up your arse because you can code better than me... oh yeah, Thanks.

      Dear RuZombieSlayer,

      ww made four observations, and all of them were correct:

      1. You're using the wrong sigil,
      2. using an inapropriate comment marker,
      3. and providing nothing to prompt the user to enter a value.
      4. This looks like homework

      He did not say it was homework; he said it looked like homework. And it does.

      The fact that it is not homework is largely irrelevant.

      We are here to help, but only an open mind receives new information. An angry mind prone to taking everything personally is rarely open in any useful manner.

      Please consider the possibility that when you are asking for help, sometimes even your question will be part of the problem, and the only way you're going to get past it is to approach the problem with humility -- of the "maybe I could be wrong" variety.

      Responses like yours demonstrate the absence of the necessary mindset.

      If these words are not helpful for you, I will recede.

      Wishing you the very best in all things.

        You're correct. A number of sloppy mistakes made due to my own quick attempt at trying to solve a problem isn't going to help me. I'm going to repost with hopefully a clearer final goal and more information.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found