Hallo and thanks for your help
I ran the following from my index.htm
with the space--> as you suggested
result: nothing was returned to the htm page
Error log said:
[Sun Jun 3 22:28:48 2001] [error] [client 208.46.234.171]
File does not exist: /var/www/html/homepage.com/home/homepage/cgi-bin/co
This list if full of usefull info, but it's just out of control.
How can I get removed from it?
John
> "Kevin" == Kevin Hancock <[EMAIL PROTECTED]> writes:
Kevin> Hi All
Kevin> I need to write an application that submits a form to a www site and
Kevin> accepts the return code. I have a URL I need to call and pass
Kevin> parameters as if I had submitted a HTML form. This URL will then
Kevin>
Hi All
I need to write an application that submits a form to a www site and
accepts the return code. I have a URL I need to call and pass parameters as
if I had submitted a HTML form. This URL will then return several values
that I must evaluate and act on.
I can write basic Perl and CGI appl
Hi All,
Does anybody know, worked with , an easy to use perl module that
can create graphs and graphical images
I tried installing GD::graph but I have to install much more libs back.
maybe there is a simpler module
[I'm not sure where to tack this on. Please don't put any significance
on how I'm attaching this to the thread. Also, I sent the same material
earlier today, but I think it went off into never-never-land. If you
receive this twice, my apologies.]
There is a lot of noise on this channel about perl
Jeff,
I have sussed it. Page 353 of the Camel book says of the += operator "the
result is assigned to the left hand operand..."
The result of the '+ 1' method call is that a number in $self is modified.
The last line of the method is:
$self->{_time_offset} = $offset;
...which is fine until t
BTW, I never said I used this product, if even why I would want to use it. I
never assumed it did a good job, or even a bad job for that matter. I never
said that is made the programs run faster, or even spoke of the size of the
resulting exe. The question was whether or not it 'compiled' in
Hi Jeff,
Thanks. According to the man pages Perl automatically substitutes + for +=
without fallback.
The problem is that even if I substitute the += method for + it still
doesn't work. Somehow $obj gets turned into the offset amount.
I have spent several hours with the debugger trying to fin
[EMAIL PROTECTED] wrote:
> within my code. it works like a charm. however, when i try:
>
> sub header {
> print << head;
> Content-type: text/html\n\n
>
> Control Panel
>
> head
> }
>
> is this not working because of a fault in my syntax? or is this not
> possible withi
> sub header {
> print << head;
> Content-type: text/html\n\n
>
> Control Panel
>
> head
> }
As dumb as this sounds, you can't have the 'head'
at the end indented. Well, not without some extra
stuff.
If you run
perldoc perldata
You'll find:
If you want you
At 16:42 2001.06.03, you wrote:
>hello all-
>quick question that is definitely from a neophyte.
>
>i am currently using:
>
>sub begin {
> print "Content-type: text/html\n\n";
> print "\n";
> print "Control Panel\n";
> print "\n";
>}
>
>sub footer {
>print "\n";
>print "\n";
>}
>
>
>wit
hello all-
quick question that is definitely from a neophyte.
i am currently using:
sub begin {
print "Content-type: text/html\n\n";
print "\n";
print "Control Panel\n";
print "\n";
}
sub footer {
print "\n";
print "\n";
}
within my code. it works like a charm. however, when i
> Quick question: can I use multi word strings (with spaces) in a hash key?
>
> $hash{time to upgrade} # note the spaces,
Well, yes, you can. But it's not a very good idea. If you absolutely must,
enclose the string in quotes.
$hash{'time to upgrade'}
any comments on why this a b
The book for learning Perl is de facto Learning Perl by Randal L. Schwartz
and Tom Christiansen, follow by Programming Perl, both from O'REilly
If you want learn CGI with Perl, I recommend CGI Programmin with Perl, from
O'reilly, also CGI Programming 101, by Linda Hamilton.
Best Regards.-
At
On Jun 3, Abdulaziz Ghuloum said:
>Incrementing and decrementing strings are quiet puzzling to me. I don't
>seem to figure out the rationale behind the use of the increment (++)
>and decrement (--) operators when it comes to strings. Let me
>illustrate:
Here's the short answer:
Auto-increment
On Jun 3, [EMAIL PROTECTED] said:
>Could someone please explain this to me clearly so I
>can actually understand word boundaries?
I've tried to do this in Chapter 3, "Extending and Controlling", of my
upcoming book, "Regular Expressions in Perl". If you read it, it might
help shed some light on
> And "perl2exe" isn't. It's an installer maker, not a compiler.
I haven't installed it yet but this is from the readme file:
# Copied from pxman.html
About This Program
Perl2Exe is a command line utility for converting Perl scripts to executable
files.
This allows you to create stand alo
> "Jody" == Jody Lowes <[EMAIL PROTECTED]> writes:
Jody> On Sunday 03 June 2001 10:26, you wrote:
>> And "perl2exe" isn't. It's an installer maker, not a compiler.
Jody> I haven't installed it yet but this is from the readme file:
So let's look at the lies or truth-stretching...
Jody>
On Sun, Jun 03, 2001 at 12:08:52AM -0500, Brent Alan Buckalew wrote:
> Hello all,
>
> I've constructed a perl script to extract certain lines of data and print
> them out and use them in a later analysis. The catch I've run into is
> that the style I used for the first batch doesn't work for
> t
> "You" == <[EMAIL PROTECTED]> writes:
You> on page 83 of Learning Perl, they give a regex
You> example:
You> /abc\bdef/;
You> #never matches (impossibe for a boundary there)
You> Could someone please explain this to me clearly so I
You> can actually understand word boundaries?
First
> "Gerrit" == Gerrit P Haase <[EMAIL PROTECTED]> writes:
Gerrit> prachi shroff schrieb am 2001-06-01, 11:04:
>> Hi!
>>
>> I am tying to use the Perl2exe utility but am getting an error : " Invalid
>> Platform :win32 ". I am running Win2000 and installed the exact versions
>> recommended fo
> "Adam" == Adam Theo <[EMAIL PROTECTED]> writes:
Adam> on the matter of compiling perl: this is something i have also been
Adam> wanting to look into, for the reason of speeding up my programs,
As the FAQ entry says, Perl is already compiled by the time it hits
runtime, so there's not much
At 12:14 PM 6/3/2001 -0400, Eduard Grinvald wrote:
>The equivalent of specifying a word boundary would be roughly the following
>regex:
>/[^a-zA-Z0-9-_][a-zA-Z0-9-_]+[^a-zA-Z0-9-_]/
>Something that's not in a word, followed by something in a word, followed by
>something not in a word.
Sorry, this
Hey,
Ok, basically a word boundary is considered something that could be in a
traditional word, surround by something that can't be in a word (spaces,
tabs, non-printable chars, etc).
The equivalent of specifying a word boundary would be roughly the following
regex:
/[^a-zA-Z0-9-_][a-zA-Z0-9-_]+[
on page 83 of Learning Perl, they give a regex
example:
/abc\bdef/;
#never matches (impossibe for a boundary there)
Could someone please explain this to me clearly so I
can actually understand word boundaries?
thanks...
__
Do You Yahoo!?
Well you could do it this way, if you're trying to read each line and process the same
way
(Assuming you only want lines starting with Nitrogen, and the lines are all structured
the same):
## START
while(){
if (/^Nitrogen/) {
@List = split (/\s+/);
if ($List[1] <= 0.0) {
On 03 Jun 2001 11:18:57 AST, Abdulaziz Ghuloum said:
oops, $str should be 'ab9' not 'ab1' in this example.
> $str = 'ab1';
> $str++;
> print "$str\n"; # can you take a guess? Answer: 'ac0'
_
Do You Yahoo!?
Get your free @yahoo.co
Hello everybody
Incrementing and decrementing strings are quiet puzzling to me. I don't seem
to figure out the rationale behind the use of the increment (++) and decrement
(--) operators when it comes to strings. Let me illustrate:
$str = 'hello';
$str++;
print "$str\n"; # here we get "hellp".
On Jun 3, Richard Hulse said:
>I have a module which overloads a few operators
>
>snippet:
>use overload
> "+" => \&addoffset,
> "-" => \&subtractoffset,
> q("") => \&printit;
>
>Even if I allow Perl to magically make the += happen for me it still does
>the same (wrong) thing.
Are y
On Jun 3, M.W. Koskamp said:
>> #sample of the text
>> Nitrogen 0.0 -5.78 0.0 0.0 0.0
>>
>> #sample of the program.
>> while(){
>>
>> if (/(Nitrogen) *([0-9.\-]*) *([0-9.\-]*) *([0-9.\-]*) *([0-9.\-]*)
>> *([0-9.\-]*)
>> /) {
>> if ($2 <= 0.0) {
>> $name = $1; $nitrogen1 = $2; $nitrogen2 =$3;
--- "Todd A. Jacobs" <[EMAIL PROTECTED]> wrote:
> On Fri, 1 Jun 2001, ~kc~ wrote:
> > wouldn't suppose any of you know the syntax to put an audible beep
> > in a print line in perl?
>
> "\a" is the bell character, but it doesn't always work. For example,
> my terminal ignores the bell character
On Sun, 3 Jun 2001, KeN ClarK wrote:
> I bought O'Reilly's PERL In A Nutshell last evening and have been lurking
> here for awhile. I'm curious if any answers exist for this question:
>
> I want to take mp3's in a directory and create html page with href links
> to these files. There are far too
> > A little time makes for a lot of education.
> > I think it's a worthwhile endeavor. ;o]
> >
> Your helpfulness has encouraged me to re-subscribe to the beginner's
> list. As long as you and others like you are willing to supply your
> little time for the "lot of education" on the part of be
Hello all,
I've constructed a perl script to extract certain lines of data and print
them out and use them in a later analysis. The catch I've run into is
that the style I used for the first batch doesn't work for
the second. I was wondering if any of you had a better/different way of
getting t
I have a module which overloads a few operators
snippet:
use overload
"+" => \&addoffset,
"-" => \&subtractoffset,
q("") => \&printit;
the functions are called OK when I code:
$obj + 7;
print $obj;
...although I get a Perl warning saying addition is useless which I would
expect
Luinrandir Hernson wrote:
> ## opens, reads number of hits and closes the file acording to the web page its
>called from.
> open(FILE,"/home/homepage/cgi-bin/data/$file");
> flock (FILE, 2);
> $count = ;
> flock (FILE, 8);
> close(FILE);
>
> ## adds a hit to the variable
> $count++;
>
> ## open
I bought O'Reilly's PERL In A Nutshell last evening and have been lurking
here for awhile. I'm curious if any answers exist for this question:
I want to take mp3's in a directory and create html page with href links
to these files. There are far too many of them to just create the page
raw. Assur
- Original Message -
From: Brent Buckalew <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 03, 2001 9:28 AM
Subject: probably a simple matter but...
> Hello all,
>
> I've constructed a perl script which takes number from a large text file
> and prints them as well as manip
prachi shroff schrieb am 2001-06-01, 11:04:
> Hi!
>
> I am tying to use the Perl2exe utility but am getting an error : " Invalid
> Platform :win32 ". I am running Win2000 and installed the exact versions
> recommended for the Perl I am using. Any suggestions on this will be great
> help.
Ind
[EMAIL PROTECTED] schrieb am 2001-05-31, 18:30:
> Hi gurus,
> In http://www.cpan.org/doc/FMTEYEWTK/is_numeric.html, ( Is it a
> number? ), Tom Christiansen writes:
>
>--
> If you do care about ge
Paul Cotter schrieb am 2001-05-31, 16:28:
> Can someone explain the following. The file /etc/inputrc certainly has the 'wrong'
>lines in it, but I am loathe to delete them without understanding
> what I am doing. (mmm, I wonder where I screwed up..)
As the error messages show, you should choo
E. Alan Hogue schrieb am 2001-05-30, 20:56:
Instead of this:
> foreach $field (@fld_vals) {
> while ($field = '') {
you want that:
==
while ($field == '') { # '==' for ints, 'eq' for strings
> push (@nulls,$id);
> }
> }
>
[...]
> while statement was actually
Gil Tucker [ateliermobile] schrieb am 2001-05-30, 10:09:
>Hi everybody,
> Does anybody knows the fastest and easiest way tzo
> install Perl on
Get IndigoPerl HERE:
http://www.indigostar.com/
Apache already included.
-gph
--
=^..^=
Hello, all, Adam Theo here;
i didn't catch the first half of this thread, just the posts from the
last digest.
on the matter of compiling perl: this is something i have also been
wanting to look into, for the reason of speeding up my programs, and
being able to distribute my programs to people w
Hello all,
I've constructed a perl script which takes number from a large text file
and prints them as well as manipulates them later on. I've use a crude
way of getting the data but it's working for one set of files but not the
other. What happens is that it reads in the numbers until there is
46 matches
Mail list logo