Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Puzzles

by eyepopslikeamosquito (Chancellor)
on Oct 10, 2010 at 07:49 UTC ( #864454=note: print w/replies, xml ) Need Help??


in reply to Perl Puzzles

If you like trivia nights, you might enjoy trying to solve some of the questions in Running a Perl Quiz Night -- see especially Set 3: Perl Coding and the Perl Table Questions at the end. These questions are aimed primarily at reasonably experienced Perl programmers, rather than beginners.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://864454]
help
Chatterbox?
[shmem]: james28909: you'll prolly come back to perl when done :-P
[james28909]: but isnt that the same a referencing?
[shmem]: no. A reference is something like a pointer in C
[james28909]: i mean i get what you are saying though. but it is easily confused (especially by someone like me :P )
[shmem]: in the loop example I gave you, $_ is not a reference. It is just the current element of @array "in disguise".
[shmem]: i.e accessed as $array[$i] where $i would be the loop index in a C-style "for" loop: for($i=0;$i<=$# array;$i++){ ... }</c>
[james28909]: i gotcha
[Discipulus]: reference is a road sign; alias like Constantinple and Istnbul
Discipulus well istanbul was a road sign but this is another story: eis ten polin

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-05-20 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?