P is for Practical | |
PerlMonks |
Re: Wierd File pipe problem...by KeighleHawk (Scribe) |
on Dec 20, 2004 at 22:18 UTC ( [id://416337]=note: print w/replies, xml ) | Need Help?? |
first, for cleanliness, I think unpack would be nicer than all the substrings.
second, does $line have a carraige return stuck on it? I don't see you chomp'ing it. Some times that causes things to misfire in bizarre ways; especially if you are calling out to the shell with it... third, check your return code on your system call. That may produce something useful...
In Section
Seekers of Perl Wisdom
|
|