How to save URL of picture where localtion in the server via mysql?

2005-11-11 Thread Mr.Cheung
I have some picturues in the server,so i want to save URL of picture via mysql and display internet. How to wirte this perl program? Thanks. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.Active

Re: Comparing 2 text files

2005-11-11 Thread Trevor Joerges
What is the best way to compare 2 text files for matching. Let's say both files have just people names Thanks File1 File2 James Joe TinaPatrick Steve James ... I'm lazy and don't like reinventing the wheel although it can be fun somet

Re: memory used

2005-11-11 Thread Trevor Joerges
Is there a simple way to get the amount of memory being used by a Perl data structure? I know that there may be problems with multiple data structures sharing a common list or hash, but what I'd really like is to do something like: my $nBytes = bytesused($href); and get the total memory used

Kim Greene/IS/Group/Paramount_Pictures is out of the office.

2005-11-11 Thread Kim_Greene
I will be out of the office starting 11/11/2005 and will not return until 11/14/2005. I will be checking my e-mail regularly on Friday. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.Acti

memory used

2005-11-11 Thread John Deighan
Is there a simple way to get the amount of memory being used by a Perl data structure? I know that there may be problems with multiple data structures sharing a common list or hash, but what I'd really like is to do something like: my $nBytes = bytesused($href); and get the total memory used

RE: Comparing 2 text files

2005-11-11 Thread Peter Eisengrein
> What is the best way to compare 2 text files for > matching. Let's say both files have just people names > Thanks > Does it matter what position they are in, or do you only want to know what exists in both files? If it doesn't matter, you can do it as follows: my $count = 0; my $count2 = 0;

RE: Comparing 2 text files

2005-11-11 Thread Jim Guion
Hashes are your friends! my $file1 = "file1"; my $file2 = "file2"; my %file1_names; open(IN1,$file1) or die $!; while () { chomp; $file1{$_} = 1; } close IN1; open(IN2,$file2) or die $!; while () { chomp; print "Found matching name: '$_'\n" if $file1{$_}; } close IN2; -Original Mess

Re: Counting matches

2005-11-11 Thread $Bill Luebkert
Артем Аветисян wrote: > Hello, Perl Users. > > I have: > ... > $string =<<'EOS'; > Returns the offset of where the last m//g search left off for the variable in > question > ($_ is used when the variable is not specified). Note that 0 is a valid match > offset, > while undef indicates that th

Comparing 2 text files

2005-11-11 Thread Paul
Hi, What is the best way to compare 2 text files for matching. Let's say both files have just people names Thanks File1 File2 James Joe TinaPatrick Steve James ... __ Yahoo! Ma

RE: Counting matches

2005-11-11 Thread Joe Discenza
Title: Counting matches Артем Аветисян wrote, on Fri 11-Nov-05 11:06 : I have:: ...: $string =<<'EOS';: Returns the offset of where the last m//g search left off for the variable in question: ($_ is used when the variable is not specified). Note that 0 is a valid match offset,: while undef

Re: Can't download file with Win32::GuiTest

2005-11-11 Thread Ed Zarger
I've played with Win32::GuiTest a bit, but not SAM or this specfic purpose. Sometimes I'll have difficulties sending keys to the proper window. To fix that, I'd often use GuiTest's FindWindowLike to get  the window filehandle. Then I have used either SetFocus to that window, or sometimes Sho

Counting matches

2005-11-11 Thread Артем Аветисян
Hello, Perl Users. I have: ... $string =<<'EOS'; Returns the offset of where the last m//g search left off for the variable in question ($_ is used when the variable is not specified). Note that 0 is a valid match offset, while undef indicates that the search position is reset (usually due to

Re: List of Packages Supplied with ActivePerl Vx.y.z?

2005-11-11 Thread Veli-Pekka Tätilä
Hi Randy and Lynn, And thanks for your quick and informative replies. Veli-Pekka Tätilä wrote: How can I tell which packages are supplied with a given Active State Perl release? I've often been wondering this when distributing some of my own scripts to other people running Windows. Randy wrot