Don't ask to ask, just ask | |
PerlMonks |
Re: Shorten windows paths too long (qx)by tye (Sage) |
on Aug 17, 2010 at 18:38 UTC ( [id://855565]=note: print w/replies, xml ) | Need Help?? |
That is pretty broken code. `` (qx<>) doesn't return a boolean. It returns the output of the commands. So you are dieing if that command produces no output. And $! usually is irrelevant after qx() fails.
Might be closer to correct. - tye
In Section
Seekers of Perl Wisdom
|
|