Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: hangman game

by Happy-the-monk (Canon)
on May 19, 2015 at 10:02 UTC ( #1127100=note: print w/replies, xml ) Need Help??


in reply to Re^3: hangman game
in thread hangman game

Perhaps someone can point up an example where it's helpful?

You will need it to create lists, for one, as in: ( 1, 5, 17 )

Otherwise it allows you to avoid blocks in unusual places like: do_whatever and log_this, dump_that;

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Replies are listed 'Best First'.
Re^5: hangman game
by QM (Parson) on May 19, 2015 at 10:08 UTC
    You will need it to create lists, for one, as in: ( 1, 5, 17 )
    No, that's a separator. A comma operator essentially says "expression; expression", as best I can tell.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1127100]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-07-17 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (355 votes). Check out past polls.

    Notices?