Do you know where your variables are? | |
PerlMonks |
Re: Doubley surprised by fat commasby cavac (Parson) |
on Jun 10, 2021 at 07:52 UTC ( [id://11133722]=note: print w/replies, xml ) | Need Help?? |
This is (presumably) the same feature that allows to end a list on a comma without creating unwanted "undef" elements.
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";'
In Section
Seekers of Perl Wisdom
|
|