Somu wrote:
> I'm not certain about what EXPR is..
EXPR is any valid Perl expression.
> How do i use glob?
perldoc -f glob
perldoc File::Glob
> My next question is regarding opening pipes. I tried the following:
> open ( FH , " notepad " );
> print FH 'hello' ;
| is the pipe character so something like:
open FH, '| notepad' or die "Cannot open pipe to notepad: $!";
print FH 'hello';
close FH or warn $! ? "Error closing notepad pipe: $!"
: "Exit status $? from notepad";
perldoc -f open
perldoc -f close
perldoc perlopentut
> But its only opening the notepad application, and nothing shows up on
> the notepad..
John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/