Re: external application output to a buffer



* Grant McLean <grant mclean net nz> [2005-02-19 19:20]:
http://gtk2-perl.sourceforge.net/faq/#43

Someone really should rewrite that to use three-arg open and a
lexical filehandle à la

    open my $pipe, '-|', 'command', qw( s w i t c h e s )

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]