Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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.

Thanks,


Comment on Re^2: Perl Symbols
Download Code
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 http://perldoc.perl.org 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.


    Dave

      Thanks, I will follow your advice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2014-04-18 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (472 votes), past polls