Hi there,
I am looking for a complete perl/mysql classified
software for an internet business. Something as
complete as http://www.esvon.com/products/cl/index.php
or better than that.
Thanks..
Joe.
__
Do you Yahoo!?
New and Imp
Howdy group,
This seems like it should be simple, but I'm a bit stumped on the best
way to do this:
I want to add a hash to a hash,
With arrays you could:
push @arr2, @arr2;
but what is the best way to do that with a hash?
perl -MData::Dumper -mstrict -we 'my %q=(1=>2,3=>4);my
%w=(5=>6,7=>8);pr
- Original Message -
From: "JupiterHost.Net" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 19, 2004 6:56 PM
Subject: adding hash to a hash
> Howdy group,
>
> This seems like it should be simple, but I'm a bit stumped on the best
> way to do this:
>
> I want to a
On Sep 19, JupiterHost.Net said:
>I want to add a hash to a hash,
>
>So how can I add %w to %q in that example?
The general way is:
# to add %w to %q
@q{keys %w} = values %w;
If there are overlapping keys, %w's values will be used.
--
Jeff "japhy" Pinyan % How can we ever be the
Jeff 'japhy' Pinyan wrote:
On Sep 19, JupiterHost.Net said:
I want to add a hash to a hash,
So how can I add %w to %q in that example?
The general way is:
# to add %w to %q
@q{keys %w} = values %w;
If there are overlapping keys, %w's values will be used.
Why not just
%q = (%q, %w);
--
Gunna
On Sep 20, Gunnar Hjalmarsson said:
>Jeff 'japhy' Pinyan wrote:
>> On Sep 19, JupiterHost.Net said:
>>>
>>>I want to add a hash to a hash,
>>>
>>>So how can I add %w to %q in that example?
>>
>> The general way is:
>>
>> # to add %w to %q
>> @q{keys %w} = values %w;
>>
>> If there are overlapp
Jeff 'japhy' Pinyan wrote:
Gunnar Hjalmarsson said:
Jeff 'japhy' Pinyan wrote:
The general way is:
# to add %w to %q
@q{keys %w} = values %w;
If there are overlapping keys, %w's values will be used.
Why not just
%q = (%q, %w);
Benchmark it to see which is better.
The slice method seems to b
Thanks for the input! Bit of a brain freeze there ;p
All 3 methods have the desired effect.
Here is the benchmark info for thsoe playing along:
Benchmark: timing 100 iterations of %q = (%q, %w); , @q{keys %w} =
values %w;, my(%c)=huh(%a,%b);...
%q = (%q, %w); : 0.459673 wallclock secs ( 0.46
Ok, well I think I can see the forest but I have little idea as to what
is actually going on here. I spent a few hours looking things up and I
have a general sense of what is actually occurring but I am getting
lost in the details that were posted in the last digest. See below:
On Sep 19, 2004,
Gidday all,
In our CMS (Interwoven Teamsite) I need to write a content deletion workflow.
If a user is deleting a html page I need to parse that page and report on all assets
(images, pdfs) attached to the page and delete them as well.
How do I go about doing this? I'll do the legwork just broa
Ok,
I think I've decided to go with 'assign'
1) Because the benchmark difference isn't much:
splice 2008032/s ---3%
assign 2074689/s 3% --
2) And duplicate keys become the value of the newest hash on both ways:
use Data::Dumper;
my %w = (1=>2,3=>4);
my %q = (3=>6,7=>8);
@q{key
I am new in PERL programming...I have one question to ask..How can i transfer a folder
in 2 different machine using Net::FTP...Now, i can transfer a sigle file between 2
machine but i am still having problemm to transfer a folder using Net::FTP...Did
anybony have any idea?Please help me.
Michael S. Robeson II wrote:
Ok, well I think I can see the forest but I have little idea as to
what is actually going on here. I spent a few hours looking things
up and I have a general sense of what is actually occurring but I
am getting lost in the details that were posted in the last digest.
We
On Mon, 20 Sep 2004 12:26:45 +1000, Johnstone, Colin wrote
> Gidday all,
>
> In our CMS (Interwoven Teamsite) I need to write a content deletion
workflow.
Typically a job (workflow) variable is set to indicate all files associated
with the joy should be "deleted", maybe using a checkbox on the
On Mon, 20 Sep 2004, Roime bin Puniran wrote:
> I am new in PERL programming...
Okay -- it's "Perl" for the language, "perl" for the program that runs
programs written in the language, and "PERL" for nothing. In spite of
what some of the docs jokingly say, "Perl" doesn't stand for anything,
so
static PerlInterpreter *perlInterpreter = 0;
void Analyzer_i::CreatePerlInterpreter()
{
perlInterpreter = perl_alloc();
perl_construct(perlInterpreter);
const char * persLoader =
"/opt/blasoss/uma/umatkt/tktsni/lbin/persistent.pl";
char* embedding[] = {"", (char *) persLoader};
Thanks for ur reply..Actually, i need to transfer a folder that continously updated.
It's so difficult to tarball a directory first then send it through Net::FTP while the
content of the directory always updated...I mean my problem is, i need to transfer a
folder without tarball it first using N
17 matches
Mail list logo