|The stupid question is the question not asked|
Re^5: unpacking wmic command's unicode outputby goibhniu (Hermit)
|on Nov 12, 2008 at 19:21 UTC||Need Help??|
What about the print $#ARGV; statement that printed 0 where you seem to have predicted it should print -1?
I take your point about the difference between $#ARGV (highest index) and @ARGV in scalar context (number of elements) and agree I should have used the number of elements. That's a mental block for me and has caused me problems in the past.
I also take your point about complexity. I think I was looking for something parallel in style to open() || die(); for consistency.
#my sig used to say 'I humbly seek wisdom. '. Now it says:
I humbly seek wisdom.