in reply to Error: '/' must follow a numeric type in unpack
I could reproduce the error message with a string of length 1, like this:
my $s2 = unpack 'v/A*', "a";
Wrong error message for the problem that the string was too short to unpack
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error: '/' must follow a numeric type in unpack
by BrowserUk (Patriarch) on Oct 29, 2008 at 15:05 UTC | |
by jethro (Monsignor) on Oct 29, 2008 at 15:17 UTC |