in reply to Re^4: unpacking wmic command's unicode output
in thread unpacking wmic command's unicode output
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: unpacking wmic command's unicode output
by ikegami (Patriarch) on Nov 12, 2008 at 19:48 UTC | |
by goibhniu (Hermit) on Nov 12, 2008 at 20:41 UTC |