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
      Yes, definitely.