New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'/' must follow a numeric type in unpack, inconsistent message #12895
Comments
From perlbug@plan9.deCreated by perlbug@plan9.deIt seems pack and unpack work very inconsistently with '/': join ":", unpack "(w/a)*", pack "(w/a)*", 12, 13 In this case, everything works as advertised - the () group gobbles up all This changes when something precedes it: join ":", unpack "C (w/a)*", pack "C (w/a)*", 1, 2, 3 Expected for the last case would be just the value "1". In addition to having different behaviour when something precedes to I checked perl 5.8.9, 5.14.2, and 5.16.3, and all are consistently Perl Info
|
Migrated from rt.perl.org#117457 (status was 'new')
Searchable as RT117457$
The text was updated successfully, but these errors were encountered: