The two warnings Possible attempt to put comments in qw() list and Possible attempt to separate words with commas are no longer mutually exclusive: the same "qw" construct may produce both. The uninitialized warning for "y///r" when $_ is implicit and undefined now mentions the variable na...
What is the word for a baseless or specious argument? Especially one that is immediately tossed out in court Collect[f[a x + b y + c x], x] does not work. How to collect terms inside a function? How can I encourage my toddler to try new foods? Is proper time still maximize...
The"qw//"operator is now evaluated at compile time into a true list instead of being replaced with a run time call to"split()". This removes the confusing misbehaviour of"qw//"in scalar context, which had inherited that behaviour fromsplit(). Thus: $foo = ($bar) = qw(a b c); p...
use re qw(regexp_pattern); my ($pat, $mods) = regexp_pattern($re_ref); If the actual stringification is important or older Perls need to be supported, you can use something like the following: # Accept both old and new-style stringification my $modifiers = (qr/foobar/ =~ /\Q(...