hi everyone...
I guess this problem is less related to perl (though it might be) and
more related to HTTP...
I'm trying to write a program that sends an HTTP request (using
LWP::UserAgent::Request) to a server (web.icq.com, which i know is
working fine), but all i get in status_line is "500 Can't c
Jan Cohen wrote:
Hi all, newbie here again,
Here's a sample of some code that's confusing me:
#if ($selectRide = "LibertyRider2" || "RiderGroup")
Two key mistakes. First = is assignment, == is equality for numbers, and
'eq' is equality for strings, so essentially you are saying if you can
Hi all, newbie here again,
Here's a sample of some code that's confusing me:
#if ($selectRide = "LibertyRider2" || "RiderGroup")
# {foreach $my_element(@alllegs) {
# unless ($my_element eq '')
# {print " $my_element \n";}
# }
# }
#else
# {print "You\'re good for the whole ride, Coast to Coast! \
Thanks, Dennis! You pointed me in the right direction.
foreach $my_element(@alllegs) {
unless ($my_element eq '')
{print " $my_element \n";}
}
Works like a champ!
Jan Cohen
- Original Message -
From: "Dennis Stout" [EMAIL PROTECTED]
> > I'm just learning perl and would like to know h
> I'm just learning perl and would like to know how to print the contents of
> an array, without printing any of the elements in the array that might be
> empty.
foreach (@days) {
unless =~ // print;
}
I do believe will do it.
Dennis Stout
>
> For instance:
>
> I'm parsing info in from a
Hi all,
I'm just learning perl and would like to know how to print the contents of
an array, without printing any of the elements in the array that might be
empty.
For instance:
I'm parsing info in from a form:
$day2 = $field{'x_Day2'} ;
$day3 = $field{'x_Day3'} ;
$day4 = $field{'x_Day4'} ;
an
On Tue, 4 Feb 2003 16:22:17 -0500, "Kipp, James" <[EMAIL PROTECTED]> wrote:
> Can anyone point me to some good docs for using cookies with Perl/CGI. I can
> only seem to find docs using Javascript. I have already read the cgi.pm
> docs, but looking
Can anyone point me to some good docs for using cookies with Perl/CGI. I can
only seem to find docs using Javascript. I have already read the cgi.pm
docs, but looking for something with more info.
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
you can go there
http://learn.perl.org/
http://perldoc.com/
or search deeper in the google 'arcanes'
for some (quite) illegal online books...
Anthoni wrote:
> Hi there,
>
> Can anyone point me to some good resources for learning perl?
> I have the book Javascript, CGI and Perl, but want some on
Where can I get my hands on split-logfile. Based on the info at the link
below, it seems to be exactly what I am looking for.
---
Jeremy SchwartzStarmark
Interactive Developer
[EMAIL PROTECTED]954-761-1600
> From: pkeidesis <[EMAIL PROTEC
On Tue, 4 Feb 2003 00:14:30 -0900, "Dennis Stout" <[EMAIL PROTECTED]> wrote:
> Sheesh.
>
> Wil ya'll just help a man with a perl problem instead of battering him with
> other ways to do it?
>
At least one of these lists is a beginners list, the ot
Sheesh.
Wil ya'll just help a man with a perl problem instead of battering him with
other ways to do it?
Sometimes people like ot pose a challenge to themselves and see if it can be
done.
Instead of being counterproductive and refering peopel to other things, help
the man!
I wish I could but at
On Monday, February 3, 2003, at 10:32 AM, [EMAIL PROTECTED] wrote:
Something along the lines of:
#!/bin/sh
for dir in `ls -1 /webroot/`; do
cat /var/log/httpd/access_log | grep "$dir" >
/var/log/httpd/access_log_$dir
done
Tip - whenever 'cat' is the first command in a pipeline, it should
Hi there,
Can anyone point me to some good resources for learning perl?
I have the book Javascript, CGI and Perl, but want some online material as
well
Regards
Anthoni
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am not handling this at the Apache level because I have about 40+
different sites running on this one box. I want to be able to run server
wide statistics from the 'master' log file, then I want to strip it apart
into the separate pieces, pipe that piece to Analog and dump the results
into the vh
Not trying to reinvent the wheel.
I am using Analog for the analysis.
I am trying to split the server combined log into individual vhost logs. I
can then run each through Analog to produce individual reports.
---
Jeremy SchwartzStarmark
Interact
Excuse my ignorance here, I have what is probably a simple question.
I want to pull apart my Apache combined log into individual Vhost reports
that I can run through Analog.
I can manually do this by grepping the file for the vhost name.
What I'd like to do is have a Perl script read the list of
17 matches
Mail list logo