Terrific, thanks!
- B
> Yup. Just got this recently.
>
> ref
>
> http://perldoc.perl.org/functions/ref.html
>
> Returns a non-empty string if EXPR is a reference, the empty string
> otherwise. If EXPR is not specified, $_ will be used. The value
> returned depends on the type of thing the
Yup. Just got this recently.
ref
http://perldoc.perl.org/functions/ref.html
Returns a non-empty string if EXPR is a reference, the empty string
otherwise. If EXPR is not specified, $_ will be used. The value
returned depends on the type of thing the reference is a reference to.
Builtin types i
Is there a way to determine whether a variable is a pointer to a hash,
pointer to an array, or just a number/string?
TIA.
- Bryan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
I'm having the same header problem as the mark.
I removed all the headers and the script still functions, but it doesn't
print the cookie header. There is a module for deleting previous headers but I
can't remember what it's called.
#!C:/Perl/bin/perl.exe
BEGIN{open(STDERR, ">./errors/order.
one of the scripts has
print $cgi->header();
- Original Message -
From: "WC -Sx- Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 4:10 PM
Subject: Re: Content-type: text/html
> are you using
>
> print header;
>
&
Are you sure the lines in your file don't contain double-quotes? These would
turn the JavaScript parameter into nonsense.
R
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 5:03 PM
Subject: Content-type: applica
okay here is the thing, i have found this really neat piece of code
when I add
http://www.mydomain.com/cgi-bin/test.cgi"</a>;>
and test.cgi has the following code
#!/usr/bin/perl
print "Content-type: application/x-javascript\n";
print "Pragma: no-cache\n
> Yes. You did print out the return value, didn't you? The header method
of
> CGI.pm doesn't print the header out, it returns it; you have to print it
out
> yourself.
No I didn't, I did not know I needed to. It works great now thanks AGAIN!
-Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED
On Fri, Oct 19, 2001 at 12:11:31PM -0500, SAWMaster wrote:
> $addtocart_co->header(-cookie=>$pid_cookie);
>
> Does that line not handle the content type as well?
Yes. You did print out the return value, didn't you? The header method of
CGI.pm doesn't print the heade
On Fri, 19 Oct 2001, SAWMaster wrote:
> Hello, I have a script that is acting funny.
>
> I have this line in it:
>
> $addtocart_co->header(-cookie=>$pid_cookie);
>
> Does that line not handle the content type as well?
It does handle it. Do you have start_html after
Hello, I have a script that is acting funny.
I have this line in it:
$addtocart_co->header(-cookie=>$pid_cookie);
Does that line not handle the content type as well?
I get "premature end of script headers" with just that.
But if I add this line:
print "Content-type
> Im using Content-Type TEXT/PLAIN charset=US-ASCII
I think you're missing a colon, and you possibly
have other syntax errors. Check on the net for
the syntax of the Content-type line.
Hi,
Im using Content-Type TEXT/PLAIN charset=US-ASCII
outlook express understands ok but Email express from icq the headers arrives ok but
the body comes:
Unknown mime-type detected!
Message could not be delivered.
13 matches
Mail list logo