Bob Ackerman wrote:
>
> i get error when trying this line. macosx. perl 5.6.1.
>
> perl -e"for (55..75) { print chr($_) }"
>
> it says:
> Unmatched ".
>
> problem with '$_'. shell must be looking at it and messing it up.
> how do i get the '$' through tcsh shell?
Since $_ is the default argu
Deecee wrote:
>
> I am trying to search a particular directory and all of it's subdirectories
> for files that are newer that 1/1/00 and delete them. It seems like it
> should be rather simple but I am racking my brain to try and put it
> together.
>
> I have a hunch that the answer lies in the
i get error when trying this line. macosx. perl 5.6.1.
perl -e"for (55..75) { print chr($_) }"
it says:
Unmatched ".
problem with '$_'. shell must be looking at it and messing it up.
how do i get the '$' through tcsh shell?
easiest i would think is here-doc.
I like:
open (OUTP, ">hdtst") or die "no can open\n";
print OUTP <
> Severe newbie that would RTFM if I would have brought it home and i'm not
> asking the right monestary search strings so i humbly ask for your help..
> .
>
> i'll go get going on a fresh pot o
I'll gotta stop sending over-caffinated emails...wow, -w works...
Scott Wahlstrom wrote:
> Severe newbie that would RTFM if I would have brought it home and i'm not asking the
>right monestary search strings so i humbly ask for your help...
>
> i'll go get going on a fresh pot of coffee.
Severe newbie that would RTFM if I would have brought it home and i'm not asking the
right monestary search strings so i humbly ask for your help...
i'll go get going on a fresh pot of coffee...anyhew - snippet away...
#!/perl
open(OUTPUT, "/www/html/toc.html");
print (OUTPU
Hi Connie,
> On Sat, Mar 23, 2002 at 05:30:25AM +0800, Connie Chan wrote:
> > 1. When I open a text file with *lines, however, I just want to read the
> > first line, would this be a good idea ? open (FILE, "textfile.txt");
> > $firstline = ; close (FILE); would this process run till EOF, or
> >
I am trying to search a particular directory and all of it's subdirectories
for files that are newer that 1/1/00 and delete them. It seems like it
should be rather simple but I am racking my brain to try and put it
together.
I have a hunch that the answer lies in the 'stat' command and using
Fil
On Sat, Mar 23, 2002 at 03:42:47PM -0500, Jim Conner wrote:
> Perl ignores the white space.
Well, most white space anyway.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It does *not* matter :)
$stringc = $stringa .",". $stringb;
is the same as:
$stringc = $stringa.","$stringb;
Perl ignores the white space.
- Jim
At 19:01 03.22.2002 -0500, K Clark wrote:
>would someone tell me whether or not the problem with what the original
>post is
There is nothing wrong with the line that does the concatenation in sub
'add'. You have a problem somewhere else it seems. What was the exact
error again?
- Jim
At 23:59 03.22.2002 +, Matthew Harrison wrote:
>the script is part of a web-based role-playing-game. the line in question
>is i
Hi all,
Part I
If you get the script below to work then it needs to be modified:
I have pulled the seach.html file as follows:
I went to link http://srch.overture.com) then search for word "help",
then I save the result as file named search.html
Then I wrote the script below to extract and find
On Mar 23, Bruce Ambraal said:
>Running the script produce lots of errors.
which you have not reproduced here.
>#!/usr/bin/perl - strict
Uh... no. That 'strict' needs to go somewhere else.
#!/usr/bin/perl -w
use strict;
>open(A_file,"");
You've got an extra > in there.
open A
In the script below I am trying to to extract the results from performing a search on
the word "help" at http://srch.overture.com
Running the script produce lots of errors.
What am I doing wrong, is my rules correct.
Help
#!/usr/bin/perl - strict
open(A_file,"");
my@ary = ;
while($n <
HTML::Template needs to be obtained from CPAN (search.cpan.org is a
great place to go for all your module needs).
http://search.cpan.org/search?dist=HTML-Template
Also, you can check your error logs for your web server to get details
of what is going on. You might also want to try:
use CGI::Ca
Hi William, thanks for your time and help so far - it is much appreciated.
My perl interpreter is definately pointing to the correct file - I have run
other perl scripts successfully that point to #!/usr/bin/perl.
It is only when I try to use 'use HTML::Template;' that I get a server
error. Ca
16 matches
Mail list logo