Found a new idiom :-)
my $y= do { use integer; $x+0 };
I agree it would be nice if int() did that already....
Unfortunately that just isn't the way perl defines things. Perl has no distinction between float/int - not even when int() function is used. Perl scalars essentially have 3 basic flavours:...
Yeah that's sort of what I'm going for. I feel like 'int' ought to have a stronger contract of doing what's written on the label. If it can't convert to an int, it ought to return undef or 0, not ju...
> That's impressed me!
🌝
> I'm connecting to a Mac at work through ssh in a Linux terminal...
Nice edge case! It's always something. Quoting the url works too.
> May...
GET "/%3C!DOCTYPE%20html%3E%3Chead%3E ...
from the above it looks like your app is GETting the contents of an HTML file: ...
It's crazy right...
That's impressed me!
I'm connecting to a Mac at work through ssh in a Linux terminal which doesn't add any backslashes.
...