On Sun, 2 Jan 2005, Siegfried Heintze wrote:
> I am posting this query in beginners instead of beginners-cgi because I
> believe this is a question about the defined statement and not the $q->param
> statement/function.
>
> I'm using this code:
> $q = new CGI;
> my $nUserId = $q-
On Sun, 2 Jan 2005, Siegfried Heintze wrote:
> The following code does not work quite right because it has a trailing ", ".
>
> $sMainTable[2] .= $PCEs[$case_count]{$_}.", " foreach keys
> %{$PCEs[$case_count]};
>
> How could I rewrite this, perhaps with a join statement/function, so there
> is
The following code does not work quite right because it has a trailing ", ".
$sMainTable[2] .= $PCEs[$case_count]{$_}.", " foreach keys
%{$PCEs[$case_count]};
How could I rewrite this, perhaps with a join statement/function, so there
is no trailing ","?
Thanks,
Siegfried
--
To unsubscribe
I have the following code (extracted from my cgi program) and I am expecting
it to display an error message when it hits the "if ($@){...}" as a result
of hitting the "die" statement. It does not (as indicated by single stepping
with the windows perl debugger)! Instead it takes the else! Why?
I'm
I am posting this query in beginners instead of beginners-cgi because I
believe this is a question about the defined statement and not the $q->param
statement/function.
I'm using this code:
$q = new CGI;
my $nUserId = $q->param("userId") ;
I was hoping the defined keyword would t
Below is my script,
When I run the script, everything is ok.
#! /usr/bin/perl âw
print "111\n";
warn "222 \n";
Problem emerges when using the following command line under csh,
$test.pl >& test.log
Where test.log is like:
222
111
However, what I experted is:
111
222
Do you guys have any idea
Dear friends,
After a couple of months dwelling into Perl scripting especially in
manipulating strings, I found myself resorting to use "substr" function a
lot.
I had a feeling that the most of the "substr" function can be replaced
with regexp in any cases. For example the simple code below.
From: Oisin Peavoy <[EMAIL PROTECTED]>
> I have a Perl program which I'm having some difficulty with,
> essentially I'm
> trying to `shift()' all the ellements in an array untill an element
> containing a forward slash is encountered. Howerver, the method I'm
> using is producing incorrect results
From: "Earthlink-m_ryan" <[EMAIL PROTECTED]>
> I'm sending a request to an usoft IIS server running colfusion scripts
> and am having trouble getting my useragent to establish a session with
> the host. i recieve a timed out or session not established 500 server
> error from the host. does anyone k
Octavian Rasnita wrote:
Hi,
Can you tell me what's the difference between GD and Image::Magick
perl libraries?
Can you do something with one and cannot do with the other? Which is
working better? Which is more "advanced"? What do you recommend? (GD,
Image::Magick, both)?
GD provides an API for imag
Thanks. I have downloaded and installed them both under Windows, but I want
to focus only on one of them and then use that library under Linux
Teddy
- Original Message -
From: "JupiterHost.Net" <[EMAIL PROTECTED]>
To:
Sent: Sunday, January 02, 2005 7:01 PM
Subject: Re: GD vs Image::
Octavian Rasnita wrote:
Hi,
Hello,
Can you tell me what's the difference between GD and Image::Magick perl
libraries?
This will sound super generic but its the truth :)
GD is a Perl API for the gdlib library ( http://www.boutell.com/gd/ )
and Image::Magick is a Perl API for the ImageMagick program
Hi,
Can you tell me what's the difference between GD and Image::Magick perl
libraries?
Can you do something with one and cannot do with the other? Which is working
better? Which is more "advanced"? What do you recommend? (GD, Image::Magick,
both)?
I don't want to start using one, then to find th
13 matches
Mail list logo