- Renaming packages through glob assignment ("*Foo:: = *Bar::; *Bar:: = *Baz::") in combination with "m?...?" and "reset" no longer makes threaded builds crash.
Some bad thing happened at file.p5 line 12. main::emit_diagnostics(...) called at file.p5 line 10 (unknown)(3, 4) called at file.p5 line 9 Tester::test_xyz() called at file.p5 line 15
use feature 'lexical_subs'; no warnings 'experimental::lexical_subs'; sub sum { my $x = shift; my sub adder { my ($y) = shift; $x + $y } adder( @_ ); }
$a $b Meaning ======= ======= =============== Any undef ! defined $a Any ~~-overloaded ~~ overloading Any Regexp, qr-ol $a =~ $b Any CodeRef, &{}-ol $b->($a) Any Any fatal
$a $b Meaning ======= ======= =============== Any undef ! defined $a Any ~~-overloaded ~~ overloading Any Regexp, qr-ol $a =~ $b Any CodeRef, &{}-ol $b->($a) Any Any fatal given ($x) { when ($y) { ... } # $x ~~ $y when (4) { ... } # $x == 4 when (‘4’) { ... } # $x eq 4 }
Just Remember… - keys %hash and values %hash are in the same order as each other - they both change if you alter the hash - so does each and list order
Why I ♥ Turban Squash - it's like an experimental feature - you start with perl - then break it - see how much you broke, how much you win - and then I can steal your work from you
Talked To Death - maybe we figure out that it was a bad idea - maybe the perfect is the enemy of the good - maybe nobody's willing to decide the debate