I am trying to modify an already existing piece of code. This piece of
code -> opens a db file -> split the records (one of which is date when the
record was added) -> compare the dates with current date -> and remove all
the records if those are old enteries (as specified to remove e.g 7 days old
Hi,
why doesn't
my $ua = LWP::UserAgent->new;
my $res = $ua->request(GET 'http://www.google.de/search', q => 'asdasd');
if ($res->is_success) {
my $server_response = $res->content;
print $server_response;
}
print the html-source of http://www.google.de/search?q=asdasd ?
Regards,
Tobias
Tobias Fink wrote:
Hi,
why doesn't
my $ua = LWP::UserAgent->new;
my $res = $ua->request(GET 'http://www.google.de/search', q => 'asdasd');
if ($res->is_success) {
my $server_response = $res->content;
print $server_response;
}
print the html-source of http://www.google.de/search?q=asdasd ?
Hello,
I'm trying to redirect the output of my CGI (written
in Perl) to another frame,
but I'm not exactly sure how to do this. i.e. I have
two frames on my page
one on the right and one on the left. There is a form
on the right frame. When
the user clicks on the Submit button on my form, I'd
l
#!/usr/bin/perl
use CGI;
use LWP::UserAgent;
my $q = new CGI;
my $query = $q->param('query') || 'LWP';
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $response = $ua->get("http://search.cpan.org/search?query=$query";);
if ($response->is_success) {
my $server_response = $response->conte
Hi guys...
If I want to remove my apache server do I need to only delete the $HOME/apache
directory and delete the enteris from my .cshrc or anything else is also required.
Thanks
Pawan
-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Jack wrote:
Hello,
I'm trying to redirect the output of my CGI (written
in Perl) to another frame,
but I'm not exactly sure how to do this. i.e. I have
two frames on my page
one on the right and one on the left. There is a form
on the right frame. When
the user clicks on the Submit button on my
On Thursday, Nov 6, 2003, at 15:12 US/Pacific, Tobias Fink wrote:
[..]
why doesn't
my $ua = LWP::UserAgent->new;
my $res = $ua->request(GET 'http://www.google.de/search', q =>
'asdasd');
if ($res->is_success) {
my $server_response = $res->content;
print $server_response;
}
print the html-sou
On Wednesday, Nov 5, 2003, at 23:12 US/Pacific, Sara wrote:
[..]
foreach my $line(@lines) {
chomp $line;
my ($name, $id);
($name, $id) = split (/\|/, $line);
if ($removeby > &date_to_delete($id)){next;}
print DB "$line\n";
}
close DB;
[..]
that's the operable part of your problem,
it is in this fo
On Thursday, Nov 6, 2003, at 16:42 US/Pacific, Andrew Gaffney wrote:
Jack wrote:
[..]
When
the user clicks on the Submit button on my form, I'd
like to call a CGI script and
redirect its output to the left frame. Could anyone
please tell me how I can do this?
In the right frame, put this:
...
BetaGamma wrote:
Hi guys...
If I want to remove my apache server do I need to only delete the $HOME/apache directory and delete the enteris from my .cshrc or anything else is also required.
This is a Perl list, there are many lists for apache questions. There
are way to many possiblities to e
drieux wrote:
On Thursday, Nov 6, 2003, at 16:42 US/Pacific, Andrew Gaffney wrote:
Jack wrote:
[..]
When
the user clicks on the Submit button on my form, I'd
like to call a CGI script and
redirect its output to the left frame. Could anyone
please tell me how I can do this?
In the right frame
On Thursday, Nov 6, 2003, at 18:10 US/Pacific, Andrew Gaffney wrote:
[..]
...
substituting 'leftframe' for the name of the left frame and
'yourscriptlocation.pl' for the URL of your script.
neet solution there, I hadn't thought about arming the 'onClick'.
but why not have the form line simple so
13 matches
Mail list logo