Perlsecret – Perl secret operators and constants
metacpan.org
Perlsecret – Perl secret operators and constants
1–10 of 32 posts
Re: Perlsecret – Perl secret operators and constants
#2 print "The sum is @{[1+2+3]}";
produces The sum is 6
instead of having to do: my $sum = 1+2+3;
print "The sum is $sum";Re: Perlsecret – Perl secret operators and constants
#3Re: Perlsecret – Perl secret operators and constants
#4Now I am old and joyless and I want the code I write for work to be boring and unsurprising.
But sometimes one can still want to write poetry.
Re: Perlsecret – Perl secret operators and constants
#5Perl was the first language I learned on my own after graduating university many years ago. I fell in love with it because of quirks like these and because code written in it can have a poetic quality you don't see often. Now I am old and joyless and I want the code I write for work to be boring and unsurprising. But sometimes one can still want to write poetry.
Re: Perlsecret – Perl secret operators and constants
#6Perl was the first language I learned on my own after graduating university many years ago. I fell in love with it because of quirks like these and because code written in it can have a poetic quality you don't see often. Now I am old and joyless and I want the code I write for work to be boring and unsurprising. But sometimes one can still want to write poetry.
Re: Perlsecret – Perl secret operators and constants
#7Perl was the first language I learned on my own after graduating university many years ago. I fell in love with it because of quirks like these and because code written in it can have a poetic quality you don't see often. Now I am old and joyless and I want the code I write for work to be boring and unsurprising. But sometimes one can still want to write poetry.
Subsequently I've written code in almost every popular programming language and I will frequently go years between languages but even so I have very little trouble picking them back up. Even C++. But not Perl. It's just so weird with so many idiosyncrasies that I just can't remember it.
Re: Perlsecret – Perl secret operators and constants
#8Re: Perlsecret – Perl secret operators and constants
#9Re: Perlsecret – Perl secret operators and constants
#10After first experiences with linux shell scripting, sed, awk, and C in 1990s, I found perl a welcome refuge. Way more featureful than DOS .bat files or BASIC! Its capabilities (perl + cpan) have always well exceeded my need for CS goodness. People do complain about the syntax, oddly, without mentioning the numerous ways perl was designed to make common tasks easy to do. The "use strict" pragma, and early adoption of…