Think about Loose Coupling | |
PerlMonks |
Re^3: pack on unpack with same templateby syphilis (Archbishop) |
on Jul 28, 2021 at 06:39 UTC ( [id://11135420]=note: print w/replies, xml ) | Need Help?? |
Just as a confirmation (changed != to == .... Yes, if nvsize <= doublesize (not that nvsize is ever less than doublesize) then the equality holds. Otherwise the equality doesn't hold. ... and swapped the quotes around for *nix command line That was actually unneeded. (No big deal ... just FYI.) The rendition that I posted works fine on both Linux and windows. Perl one-liners inside double-quotes generally aren't a problem on Linux unless there's a scalar variable in the code - and I deliberately crafted my one-liner without inclusion of a scalar variable in order to achieve that portability ;-) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|