Ok i got that.. I also checked the perldoc -f q
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 4/28/07, Somu <[EMAIL PROTECTED]> wrote:
Thank you all.. Now i'm able to open files from other drives and
directories.. The EXPR in glob EXPR is actually a kind of regexp then?
What is this new q{} operator?
I am sorry for the previous dubious emails, they actually were errors
made by the ma
Thank you all.. Now i'm able to open files from other drives and
directories.. The EXPR in glob EXPR is actually a kind of regexp then?
What is this new q{} operator?
I am sorry for the previous dubious emails, they actually were errors
made by the mail sender.
--
To unsubscribe, e-mail: [EMAIL
"Rodrick Brown" schreef:
> my @files = glob("*.*");
The glob() also returns directory names, so maybe @names is a better
name for that variable.
With "*.*", all names are left out that start with a dot, or that
contain no dot at all.
Try: perl -wle 'print for glob q{.* *}'
--
Affijn, Ruud
On 4/27/07, Somu <[EMAIL PROTECTED]> wrote:
snip
My next question is regarding opening pipes. I tried the following:
open ( FH , " notepad " );
print FH 'hello' ;
But its only opening the notepad application, and nothing shows up on
the notepad..
snip
I fear that you are trying to open the
Please don't top post.
On 4/27/07, Somu <[EMAIL PROTECTED]> wrote:
Please give me one simple example using glob.. I saw the perlopentut,
and perldoc -f open, and perldoc -f glob, but i am unable to make out
anything from them.. I know only how to open files which are in the
same dir or child dir
On 4/27/07, Somu <[EMAIL PROTECTED]> wrote:
Please give me one simple example using glob.. I saw the perlopentut,
and perldoc -f open, and perldoc -f glob, but i am unable to make out
anything from them.. I know only how to open files which are in the
same dir or child dir.. But suppose i am in d
Please give me one simple example using glob.. I saw the perlopentut,
and perldoc -f open, and perldoc -f glob, but i am unable to make out
anything from them.. I know only how to open files which are in the
same dir or child dir.. But suppose i am in dir D:/Scripts/Test and i
want to open another
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 somet
open FH,">","notepad" or die $!; # create a new file
open FH,">>","notepad" or die $!; # append to a file,if not
exists,then create one
see "perldoc -f open".
2007/4/27, Somu <[EMAIL PROTECTED]>:
I'm not certain about what EXPR is.. How do i use glob?
My next question is regarding opening pi
I'm not certain about what EXPR is.. How do i use glob?
My next question is regarding opening pipes. I tried the following:
open ( FH , " notepad " );
print FH 'hello' ;
But its only opening the notepad application, and nothing shows up on
the notepad..
--
To unsubscribe, e-mail: [EMAIL PROTECT
11 matches
Mail list logo