Thanks for the suggestions.
The problem is that for these META-tags to work, they have to be in the
header, not the body of the HTML. Thus if I use
#*** Start HTML stuff ***
print $q-header,
$q-start_html(-title='New page',
-style={'src'='mystyle.css'});
and then
On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK:
MK:CGI.pm doesn't support http-equiv meta-tags, according to the documentation.
MK:What about something as simple as:
what? snippet from perldoc CGI:
To create an HTTP-EQUIV
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Perl/CGI really doesn't seem to like this way of doing META tags. I've
trimmed the irrelevant stuff, am the core of what I'm trying is the
following:
#!/usr/local/bin/perl
use POSIX;
use CGI;
$q = new CGI;
print $q-header,
$q-start_html(-title='New page',
sub mainHeader{
print $q-header( -type = text/html, -expires = now ),
$q-start_html( -title = Your Title);
This has always worked for me. I don't know if will do everything for you.
-Original Message-
From: Nick Malden[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed Nov 20
Hi,
Try using
use CGI qw/:standard/;
Works for me
Cheers
Koen
-Original Message-
From: Nick Malden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 2:39 PM
To: fliptop
Cc: Michael Kelly; Perl Beginners CGI List
Subject: Re: Non-caching META-tags
Perl/CGI really doesn't
Hello all,
I've made a spider which gets cookies from web sites, then it sends it back
to the next pages.
The script works for some pages, but for others it gives me the following
error message:
[Thu Nov 21 19:10:31 2002] [error] [client 127.0.0.1] Can't locate object
method host via package
One easy way is to run the command:
perldoc perllocal
Jason
Jerry M . Howell II [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello there,
I was wondering if there is an easy way to list the perl modules that
are
installed on a system?
--
Jerry M.
At the end of your perl program, add the line:
system( PAUSE );
http://www.computing.net/programming/wwwboard/forum/3270.html
HTH,
Jason
Gary Rocco [EMAIL PROTECTED] wrote in message
001301c290f9$02bad3d0$93b500c7@hppavilion">news:001301c290f9$02bad3d0$93b500c7@hppavilion...
when i ran perl
On Thu, 21 Nov 2002 at 08:09, Michael Kelly opined:
MK:On Thu, Nov 21, 2002 at 07:19:37AM -0500, fliptop wrote:
MK: On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:
MK: MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK: MK:
MK: MK:CGI.pm doesn't support http-equiv
Another quick dirty trick is to just put a
STDIN;
at the end of your script. This makes yours script wait for input. When
you hit enter it will terminate and the window will close. Of course,
this only works if your script gets to the end. If it runs into a compile
error, you'll see the error
I get no documentation found for this method (solaris w/ 5.6.1), but I would imagine
that would only list the base modules. If you are on unix the following is more
elegant, from the perldoc perlmodlib page (not sure why it took me so long to find
again, grr..)
To find out all modules
12 matches
Mail list logo