Re: Counting Matches In A Line

2006-12-06 Thread Andy_Bach
wwang suggested: >How about using split function? I mean something like: my @myCounts = split @YourData, /;/ print $#myCounts; Er, close - your split is reversed and you want to split the string, not an array: my @myCounts = split /;/, $YourData; but this points to an interesting thing we just

Re: Counting Matches In A Line

2006-12-06 Thread wenjie.w...@wiseagent.com.au
EwenMarshall <[EMAIL PROTECTED]> wrote: > Hi Guys, > > How do I count matches in each line of a foreach loop... > > Use strict; > My ($line,@match_count); > My @data = ("ALM1;;\"Alarm 1\";;FINISH;", ";ALM2;;\"Alarm > 2\";SCO;FINISH;"); > > Foreach $line (@data) { > My $number=0; > # C

Re: Crypt::SSLeay not found by Makefile.PL on Windows

2006-12-06 Thread Sisyphus
- Original Message - From: "Jim Keenan" <[EMAIL PROTECTED]> To: Sent: Thursday, December 07, 2006 3:32 AM Subject: Crypt::SSLeay not found by Makefile.PL on Windows . . > > perl Makefile.PL fails to find Crypt::SSLeay, even though it's installed in the correct location, and even though

Using MSXML in perl to call a Web service

2006-12-06 Thread Briggs, Larry
I'm trying to set up a perl program that uses MSXML to call a web service. Can someone please tell me where I might be able to find some sample code so that I can verify that I setting everything up correctly. Thanks ___ Perl-Win32-Users mailing list

Re: Crypt::SSLeay not found by Makefile.PL on Windows

2006-12-06 Thread John Deighan
This probably doesn't answer your question, but we use Crypt::SSLeay, which we get from the winnipeg reporitory at http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58. Installed via ppm, of course. It downloads 2 DLL files, which need to be put somewhere in the system path. That mak

Crypt::SSLeay not found by Makefile.PL on Windows

2006-12-06 Thread Jim Keenan
I am writing an application in which a user will make a call to a server using the https protocol. The user will have Perl's LWP module installed, but LWP also requires OpenSSL and Crypt::SSLeay to work. I have gotten all this set up and working on Linux but am having problems setting this up

perl 5 and hyper operators for manipulating lists

2006-12-06 Thread mailware
hi all, I am new to hyper operatorsI have been studying them in a perl 6 book. Does using hyper operators,offer better performance, in manipulating lists, than using loops? Can I forget about loops altogether?how complex can I make a hyper statment? Can Hyper operators be implemented i