push( @MyArray[ 0 ], 0 );
Hi Mike,
I think you need to make up your mind who's doing the work here--you or Perl. The
stack functions, push and pop, are intended to let the array handle its own
organization, while you concern yourself only with the top element [ie the one most
recently insert
I have determined the correct methodology ( in my mind ) for the
Particular problem...
I have a bunch of data:
$Array[ 0 ] = "some data 1";
$Array[ 1 ] = "some data 2";
$Array[ 2 ] = "some data 3";
And I have a function that sets some indices into
My "Array" based on specif
Hi, Joshua, :)
On Thu, 16 Jan 2003, Scott, Joshua wrote:
> I've got a CSV file which I need to process. The format is as follows.
>
> "Smith, John J",1/1/2002,1/15/2002,"Orlando, FL",Florida
> "Doe, John L",1/1/2002,1/15/2002,Los Angeles, California
>
> I've tried splitting it using: @row = spl
Joe, et al --
...and then Joe Echavarria said...
%
% Hi there,
Hi!
%
% How can i execute a perl/cgi application with its
% own web server ?, I want the user to be able to
In general, you can't. This is a moderately common thread in the "I want
to bundle my web site, scripts and all, o
are there some commands or function?
thanks for your response.
"The problem is with the fields that contain the commas between the quotes"
.
Hi Joshua,
Try: split (/\" *, *\"?/, $data)
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
perldoc -f pack
perldoc -f unpack
On Sun, 2038-01-17 at 12:55, billy wrote:
> are there some commands or function?
> thanks for your response.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
thanks!
- Original Message -
From: "simran" <[EMAIL PROTECTED]>
To: "billy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 10:11 AM
Subject: Re: help:how to hex2bin,bin2hex,bin2dec,dec2bin
> perldoc -f pack
> perldoc -f unpack
>
>
> On Sun, 2
Robert Monical wrote:
>
> At 01:12 AM 1/16/2003 -0800, you wrote:
> >
> >An array in scalar context return the number of elements in the array so
> >you probably want:
> >
> > for ( my $x = 0; $x < @amen; $x++ ) {
> >
> >Or the more Perlish way:
> >
> > for my $x ( 0 .. $#amen
"Try: split (/\" *, *\"?/, $data)"
Sorry, scratch that plan. Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Mike Liss wrote:
>
> Ok,
>
> I think I am beginning to see the light...
> but I am still in the dark on this one...
>
> How would I iterate over these arrays?
>
> $MyArray[0][0][0] = "A 1";
> $MyArray[0][1][0] = "comment 1";
>
> $MyArray[0][0][1] = "A 2";
> $MyArray[0][1][1] = "Comment 2";
>
Hey,
My friend is doing some web programming with perl, and wanted me to help
him do something. He wants to create a script that will show all the IPs
that are connected to the http server. I have looked on through several
sites, and even a couple fo books I own. Yet I have failed to find a
soluti
if (you are looking for connections that have come in over time) then
look in the log file
else if i you are looking for the ip that is current connecting to the cgi script
you can usually find that info in the environment variable REMOTE_ADDR -
$ENV{'REMOTE_ADDR'}
else
t
how about using mod_status? it shows all the IP connected to the server.
Tor.
simran wrote:
>
> if (you are looking for connections that have come in over time) then
> look in the log file
> else if i you are looking for the ip that is current connecting to the cgi script
> you c
101 - 114 of 114 matches
Mail list logo