Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Tutorial RFC: Guide to Perl references, Part 1

by 1nickt (Canon)
on Jul 08, 2015 at 04:00 UTC ( [id://1133673]=note: print w/replies, xml ) Need Help??


in reply to Tutorial RFC: Guide to Perl references, Part 1

Hi stevieb, This is well done, a lot of work!

I would consider shortening if possible; people have short attention spans sadly.

Also I suggest using "anecdotal" var names in your tutorials, again, it holds attention better. Like this:

# Very clear to a clear thinker my %hash = ( a => 1, b => 2, c => 3 ); while ( my ( $key, $value ) = each %hash ){ say "key: $key, value: $value"; }
# More captivating to your average thinker my %rebels = ( Luke => 'Jedi', Han => 'human', Chewbacca => 'Wookie' ) +; while ( my ( $name, $species ) = each %rebel ){ say "Name: $name, Species: $species"; }

Just my $0.02 :-)

Remember: Ne dederis in spiritu molere illegitimi!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2024-04-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found