> -Ursprüngliche Nachricht-
> Von: Trevor Joerges [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 18. Februar 2004 15:56
> An: Desai, Sheetal A; [EMAIL PROTECTED]
> Betreff: Re: Combine unique values of two arrays into one
>
> TIMTOWTDI,
>
> Here's one...
>
Trevor,
slightly changed your
Hello chiesa,
Thursday, February 19, 2004, 3:44:55 AM, you wrote:
c> i think you should undef $agent,$request,$response.
I have tryed to undef all variables and thread's object
too, but it seems dont help :-(
...
while(1){
my $thr = threads->new(\&lwp);
#$thr->join();
sleep 10;
Hello perl-win32-users,
1. if I run this script it takes more and more memory
( swap file consumption will increased ).
2. has Perl a "garbage collector" like Java's one? and how can I invoke
it?
3. how can I stop or destroy running thread?
#!perl -w
use threads;
use strict;
use LWP;
whil
Sheetal Desai wrote:
>
> OK I have two arrays and I was wondering what would be the best way to get a
> third arrays that contains distinct values from both these arrays. There are
> pretty big arrays and thus converting each value into a hash key might take
> forever.
Hi Sheetal.
The bigger the
* "Desai, Sheetal A" <[EMAIL PROTECTED]> [2004:02:18:09:03:12-0500] scribed:
> OK I have two arrays and I was wondering what would be the best way to get a
> third arrays that contains distinct values from both these arrays. There are
> pretty big arrays and thus converting each value into a hash k
I'm not sure if there is a portable solution - there may be but another
option might be to just check the OS using the $^O special variable. If it
contains 'mswin32' then run the Windows code and if it contains
'linux|solaris|hpux|etc' run the UNIX code.
Of course a portable solution would be best
TIMTOWTDI,
Here's one...
my %temp= ();
my @a = ( 1...10 );
my @b = ( 1...15);
push( @a, @b);
my @uniq = grep { ! $temp{$_} ++ } @a;
print "@uniq";
HTH,
Trevor Joerges
#~~~
$_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;.
q;xxx.;.
My applications needs to position the cursor on a screen.
I am using Win32::Console under Windows and Curses in the Unix/Linux version.
I'd like to have one version of the code. Any solution that will work in both
environments? If not, what is the best way to maintain a single code base?
Bob
OK I have two arrays and I was wondering what would be the
best way to get a third arrays that contains distinct values from both these
arrays. There are pretty big arrays and thus converting each value into a hash
key might take forever.
I appreciate any help
Sheetal
SQLite would be my recommendation too if your not looking to implement an
RDBMS. Also I think there is a port of GDBM at Roth Consulting www.roth.net.
HTH,
Trevor Joerges
#~~~
$_=q;USFWPSZK.ZKPFSHFT,kvtuZbopuifsZQZibdl,qpxfsfeZcyZQ,,iuuq://;.
q;xxx.;
hi,all
first,my english is poor.
the question is as below:
i have to use one COM in perl.
the COM is defined as below (i get it from vc):
---
struct __declspec(uuid("94c6417e-fcaa-4b13-abbe-f708c6705234"))
IXXXParams : IDispatch
{
> -Ursprüngliche Nachricht-
> Von: Michael C. Davis [mailto:[EMAIL PROTECTED]
> Betreff: Getting started with DBM-like packages under Win32
>
> Hi, I'm looking at alternatives for light-weight
> database/record indexing
> packages for use with Perl on Win32 and I wonder if someone
> coul
12 matches
Mail list logo