Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve check for packing quad values
- Check if quad values can be packed by using `eval`. This is because the condition for whether `pack` can use quad values is a bit more complicated. See: * <https://www.nntp.perl.org/group/perl.perl5.porters/2013/10/msg208380.html>, * <Perl/perl5@1640b98>, * <Perl/perl5@c174bf3> - Add unsigned quad value (Q) to the condition. - Also check for pack("D", ...) directly. This simplifies the check and removes the need for checking against the Perl version.
- Loading branch information