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

Re^2: Perl Symbols

by johnrein55 (Novice)
on Aug 13, 2013 at 17:59 UTC ( #1049320=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Symbols
in thread Perl Symbols

Thanks everyone for the help. I have one last query.
push @{$myroom->{$room}->{dpt}},$exroom ; $myrooms->{$room}->{r} = $room ;

I am trying to understand a script, so far it is good.


Replies are listed 'Best First'.
Re^3: Perl Symbols
by davido (Archbishop) on Aug 13, 2013 at 18:11 UTC

    At this point we should be able to ask you, "Well, what do you suppose those lines do?" And if you're unable to at least take a stab at it yourself, it means you didn't follow earlier advice to read the documentation.

    At the command prompt type "perldoc -f push". Or (easier on the eyes): visit and type in push.

    Now try "perldoc perlreftut", and then do the same for perldsc, perlref. Read them. Ask about the parts you don't understand.

    I'm not trying to be stubborn here, the questions in this thread are all indicators that you're trying to understand code without trying to understand the language the code is written in. We can tell you exactly what those lines are doing, but that would just be throwing good money after bad; someone's already written the documents, someone's already pointed you in their direction... I know that laziness is a virtue for Perl programmers (which is why the documentation was written in the first place), but asking others to read it and tell you what it says is false laziness -- it will be more work for you in the longrun if you have to ask each and every time.


      Thanks, I will follow your advice.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2016-10-28 16:24 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.