in reply to Re^2: SNTP pack and unpack
in thread SNTP pack and unpack
print prototype 'CORE::pack';
pack evaluates the first argument in scalar context. If you supply an array, it turns into the number of its members. You got 1, which is double weird, as it means the array only had one member - you have to supply two things to pack, the template and the list (and, as we have just seen, you can't bundle them in one array).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SNTP pack and unpack
by thanos1983 (Parson) on Mar 07, 2015 at 17:23 UTC |