i'm making my own (hopefully informative) error pages for my site. i have defined a
subroutine pr_error which takes the error(s) as input and outputs an HTML page.
how can i make it go to the end of the script ( __END__ ) on those errors (which will
not necessarily be fatal).
for example:
my
all about CGI.pm and how to use it:
http://perldoc.com/perl5.6.1/lib/CGI.html
>> But i don't know how to do it with the new module CGI.pm , anyone knows
that?!?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Blank>> produces valid HTML with no errors.
so you're saying it is printing a valid header? like this:
Content-type: text/html
HTML STUFF HERE
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i don't want to just escape those characters. they were merely examples. i
was hoping maybe there was some built-in way to escape ALL the characters
that mean anything to regular expressions. it just seemed like a lot of
work to put a \ before all the characters that regular expressions recogni
I have a CGI script which takes two strings. It searches for the first string in a
file, replacing it with the second one. This file isn't really important, more for
fun, so I'm not too worried about people deleting the whole file if they actually type
out the contents as the first string. Ho
http://www.perldoc.com/perl5.6.1/pod/func/flock.html
From: "zaka rias" <[EMAIL PROTECTED]>
Subject: lock file, flock or what?
> i wanna know what is perl command to lock a file,
> honestly i dont understand what is that mean with lock
> a file, im on linux, if i want to lock my file, i'll
> ju
>
> What typically causes the following type of error in a CGI?
> ---
> Use of uninitialized value in concatenation (.)
> at D:\inetpub\whatever\census\myscript.cgi line 272.
> ---
I d
also, it seems you might have left out a comma between the 'a' and 1 in
this:
>>my @arr = (0, 'a' 1, 'b');
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i know this is very bad form, but i think i may have pinpointed the problem.
i decided to put the "use CGI::Carp" declaration before the "use"
declaration for my module, and sure enough the browser fed me information.
it claims that the module wasn't found in any directory in @INC, but i could
hav
I posted a question here not long ago about whether creating a module was
the best solution to a problem i had, and the response was that it was the
best solution. so i created a little module. i have tested it via telnet
froml, and it works fine, but when i try to 'use' it in scripts run via th
my problem is simple. i have a number of scripts on my server, and i would like all
of them to initially run a function defined by me. however, it would be burdensome to
write that function over for every script. creating a custom module, however, doesn't
really seem that much easier. i hav
as far as CGI.pm, the documentation at
http://perldoc.com/perl5.6.1/lib/CGI.html is almost in the form of a
tutorial, but the best source of knowledge that i've found is CGI
Programming with Perl from O'Reilly. if you can, spending the $35 on it is
worth every penny.
--
To unsubscribe, e-mail:
> dont ever say "death" to any technology,we should learn and try them
> and find out which suit our interests and respect other developrs
> who are interested in the things we dont like.
i believe the sentiment was probably more "death to the technologies that
microsoft uses to attempt to domin
13 matches
Mail list logo