in reply to unusual behaviour with Inline-Files and IO-Handle
Any help is appreciated, I've been spending hours trying to figure out why it fails, granted I'm no perl expert. The runtime error is: Bad file descriptor at io.pl line 19.
Your code works for me, so maybe you need to or die Fudge() to get more info, maybe
Also, you don't need to fdopen , all you need is select OUTPUT;
Speaking of which, that style of subs that print to default handle is kinda smelly :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unusual behaviour with Inline-Files and IO-Handle (select)
by Peamasii (Sexton) on Dec 07, 2015 at 16:17 UTC | |
by kcott (Archbishop) on Dec 07, 2015 at 19:02 UTC |