|Don't ask to ask, just ask|
Re: File Handle qwerk?by chargrill (Parson)
|on Apr 10, 2007 at 14:06 UTC ( #609149=note: print w/replies, xml )||Need Help??|
This is likely your problem:
...which you then later try to use as a new FileHandle.
Try changing that line* to:
The alternative is to capture the full output of qx//:
... and then iterate over that ...
* Updated: ikegami pointed out a missing trailing vertical bar.
In Section Seekers of Perl Wisdom