Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Doubley surprised by fat commas

by cavac (Parson)
on Jun 10, 2021 at 07:52 UTC ( [id://11133722]=note: print w/replies, xml ) Need Help??


in reply to Doubley surprised by fat commas

This is (presumably) the same feature that allows to end a list on a comma without creating unwanted "undef" elements.

my @foo = ( 'hello', 'world', );

This makes copy/paste and reordering lines so much easier.

perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-03-28 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found