Re: A question on filehandles

2009-10-28 Thread Shawn H Corey
ANJAN PURKAYASTHA wrote: > A filehandle to run a program ?!! And what is that pipe symbol doing there? > Would appreciate any pointers to how this works or where I can read up > about this. Yes Perl can use pipes in open. See: perldoc -f open http://perldoc.perl.org/functions/open.html perld

Re: A question on filehandles

2009-10-28 Thread Jim Gibson
On 10/28/09 Wed Oct 28, 2009 3:00 PM, "ANJAN PURKAYASTHA" scribbled: > Trying to learn how to run Gnuplot via a Perl script I came across the > following helpful example: > > #!/usr/bin/perl > # Generate postscript and png plot with GNUplot from Perl > # Author: Ioan Vancea > # Usage: Give "da