Re: CYGWIN Uninstall

2006-12-11 Thread Ovid
--- Charith Hettige <[EMAIL PROTECTED]> wrote: > If there are ppl who are bothered abt what people ask on this mailing > list I think there not open to learn or share... So I can post questions about fixing my carburetor? I can understand where you're coming from, but most public mailing lists g

Re: Using connect_cached

2006-12-11 Thread Greg Sabino Mullane
On Thu, 2006-12-07 at 10:49 -0600, Prashanth Meka wrote: > I am trying to find a function that will create a persistent connection. > Does connect_cached provide a persistent connection? From the CLI/ODBC > traces, it looks like this program connects two separate times to the > database: > > $dbh

How do I count & skip the number of duplicate elements in an array

2006-12-11 Thread Rinku Mahesh
Hi, I've an array storing some numbers , out of which few are duplicate. I'd like to skip those which are duplicate and save them in a new array and same time I wish to count the number of skipped/duplicate elements. Eg:- Given Array "fields" {12,12,12,12,17,20,25,100,100,1

Re: How do I count & skip the number of duplicate elements in an array

2006-12-11 Thread John W. Krahn
Rinku Mahesh wrote: > Hi, Hello, > I've an array storing some numbers , out of which few are duplicate. > I'd like to skip those which are duplicate and save them in a new > array and same time I wish to count the number of skipped/duplicate > elements. > > Eg:- > > Given Array "fields" {12,12

Perl create tcp connections

2006-12-11 Thread Ron McKeever
Hello, Im wondering how I can create on my localhost 100 tcp EST connections? Can I use perl sockets? #!/usr/bin/perl use Socket; $count=3500; while ($count<3601) { $count++; $addr=sockaddr_in($count,inet_aton('localhost')); socket(S,PF_INET,SOCK_STREAM,getprotobyname('tcp')); connect(S,$addr)

Re: Perl create tcp connections

2006-12-11 Thread Lawrence Statton XE2/N1GAK
> > Hello, > > Im wondering how I can create on my localhost 100 tcp EST connections? > Can I use perl sockets? > Are there a hundred servers listening on ports 3501 through 3600? You're not going to move to established in the state machine if there isn't someone listening. -- -- -- -- -- --

Re: Perl create tcp connections

2006-12-11 Thread Jeff Pang
> >I was looking to have many EST when doing netstat, but only see >tcp 0 1 192.168.0.20:46216 127.0.0.1:3501 SYN_SENT > > >Any help??? > Only when the other-end open those ports you're connecting to,you could have the chances to establish the connections. -- Books be

What's these warnings?

2006-12-11 Thread Jm lists
Hello members, When I run: $ perl -c myscript.pl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.en" are supported and installed on your system. perl: warning: Falling back to

Re: What's these warnings?

2006-12-11 Thread Owen Cook
On Tue, Dec 12, 2006 at 11:15:13AM +0800, Jm lists wrote: > Hello members, > > When I run: > > $ perl -c myscript.pl > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: >LANGUAGE = (unset), >LC_ALL = (unset), >LANG = "en_US.en"