Re: match basename file and s / / /;

2005-08-04 Thread John W. Krahn
Brian Volk wrote: > Hi All~ Hello, > my program below is not returning any errors but nothing is happening to the > .txt files like I hoped. Can someone pls take a look and let me know what > I'm doing wrong. > > - Thank you! > > # If there is a .pdf file and a matching .txt file,

Re: Anonymous array of hashes question

2005-08-04 Thread John W. Krahn
Jason Normandin wrote: > Hello Hello, > I have a situation where I build an anonymous array of hashes for some > requests and responses found in a file (there can be multiple requests and > responses). It works very nicely and tracks all of the responses and > requests from an ip to another IP ad

Extracting Redundant Elements in HoHoA

2005-08-04 Thread Gundala Viswanath
Hi, Given this hash I want to identify animal that: 1.Occur more than once within the states, AND 2.Occur in more than one states. Finally sorts that selected animal according to its number. Such that it finally prints "the single best": HIPPO, 11 features1 features2 That values is taken from Ne

Re: perl and java and html

2005-08-04 Thread Alfred Vahau
Hello Try xampp for Windows for development purposes. Has Apache, MySql and PHP. Great for testing out CGI scripts using Perl on the same box. http://www.xampp.org/ Alfred Vahau Tony Frasketi wrote: Hello I would appreciate it if you would steer me to one or more of those groups you menti

Re: Anonymous array of hashes question

2005-08-04 Thread Philipp Traeder
On Friday 05 August 2005 01:37, Jason Normandin wrote: [..] > > if ($protocol =~ /PING REQUEST/) { > push @{$pingRequests{$destination}}, { > time => $time, > sequenceNumber=>$sequenceNumber > }; > } > elsif ($protocol =~ /PING RESPONSE/) { > push @{$pi

Re: match basename file and s / / /;

2005-08-04 Thread Brian Volk
Adam Wuellner <[EMAIL PROTECTED]> wrote: > > On 8/4/05, Brian Volk <[EMAIL PROTECTED]> wrote: > > for now it's back to the drawing board and waiting for that light in my head > > to go off! :~) > > Brian, > > I took the last script you posted and re wrote it the way I would have > gone abo

Anonymous array of hashes question

2005-08-04 Thread Jason Normandin
Hello I have a situation where I build an anonymous array of hashes for some requests and responses found in a file (there can be multiple requests and responses). It works very nicely and tracks all of the responses and requests from an ip to another IP address. Here is my code: my $time=$1 if

Re: match basename file and s / / /;

2005-08-04 Thread Adam Wuellner
On 8/4/05, Brian Volk <[EMAIL PROTECTED]> wrote: > for now it's back to the drawing board and waiting for that light in my head > to go off! :~) Brian, I took the last script you posted and re wrote it the way I would have gone about it. It doesn't use in-place editing, or @ARGV, because I don'

RE: match basename file and s / / /;

2005-08-04 Thread Brian Volk
> -Original Message- > From: Jay Savage [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 04, 2005 12:46 PM > To: Brian Volk; beginners perl > Subject: Re: match basename file and s / / /; > > > On 8/4/05, Brian Volk <[EMAIL PROTECTED]> wrote: > > > > > [snip] > > Thank you for the r

Re: perl and java and html

2005-08-04 Thread Sonia
"Chris Devers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 3 Aug 2005, Sonia wrote: > >> I want to run PERL script which will combine several JAVA applications. > > This is possible. > >> Furthermore, I need this script to run in the HTML page. > > This is not possible.

Re: macperl installation module problem

2005-08-04 Thread T R
Hi Ben, I was wondering what the other platform is. If it is Mac OS, then I believe that it will not install programs with a .exe extension. I believe .exe programs are for Windows only. I am not sufficiently knowledgeable to tell you whether a Perl program can run independantly when packaged

Re: match basename file and s / / /;

2005-08-04 Thread Jay Savage
On 8/4/05, Brian Volk <[EMAIL PROTECTED]> wrote: > > [snip] > Thank you for the reply but I don't think I understand.. The .txt files > that I am loading into @ARGV are the files that I want to open and > substitute the URL for a local path I thought that I had to include the > foreach $text

Using File::Find to follow symlinks

2005-08-04 Thread Adam Rosi-Kessel
I'd like to use File::Find, or some alternative, to follow symlinks; regardless of whether the file/directory has already been traversed in some other location. In other words, if there I have directories x and y, and the file a is in x and symlinked into y, I want the find &wanted function to be c

RE: match basename file and s / / /;

2005-08-04 Thread Brian Volk
> -Original Message- > From: John Doe [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 04, 2005 8:03 AM > To: beginners@perl.org > Subject: Re: match basename file and s / / /; > > > Brian Volk am Mittwoch, 3. August 2005 17.50: > > Hi All~ > > > > my program below is not returning an

Re: macperl installation module problem

2005-08-04 Thread T R
Hi Ben, As far as I know you can only run MacPerl on pre-Mac OS X platform. In Win 2000 OS, I believe you need to install Perl not MacPerl. --Teresa Ben Crane wrote: Hi all, Just trying to install the macperl internetconfig module on windows 2000 and I have a curious problem. When trying to c

Re: use the internal perl lexer

2005-08-04 Thread Michael Seele
yes, but if have two problems with it: 1) it is too slow for me (yes it is! ;-) 2) i must compile some modules against the used perl and this doesn't work for my usage Xavier Noria wrote: On Aug 4, 2005, at 14:22, Michael Seele wrote: i must write a application which create a DOM(document o

Re: use the internal perl lexer

2005-08-04 Thread Xavier Noria
On Aug 4, 2005, at 14:22, Michael Seele wrote: i must write a application which create a DOM(document object model) for perl files/code and whant to use the internal perl lexer for the lexing. is it possible to use the internal perl lexer for lexing perl files/ code into tokens? Do you

Re: email attachments

2005-08-04 Thread Jeff Eggen
>>> David Foley <[EMAIL PROTECTED]> 04/08/2005 7:58:14 am >>> >Hi Guys, > I'm using Net::POP3 to collect some mail. But some of the >messages contain attachments. I need to get these attachments into a >file. How do I do this? MIME::Entity comes to mind. http://search.cpan.org/~dsko

email attachments

2005-08-04 Thread David Foley
Hi Guys, I'm using Net::POP3 to collect some mail. But some of the messages contain attachments. I need to get these attachments into a file. How do I do this? Thanks -- *David Foley* Reflex IS, Ireland [EMAIL PROTECTED] tel: +353 51 841051 fax:+353 51

Re: match basename file and s / / /;

2005-08-04 Thread John Doe
Brian Volk am Mittwoch, 3. August 2005 17.50: > Hi All~ > > my program below is not returning any errors but nothing is happening to > the .txt files like I hoped. Can someone pls take a look and let me know > what I'm doing wrong. > > - Thank you! > > # If there is a .pdf file and a matc

use the internal perl lexer

2005-08-04 Thread Michael Seele
hi, i must write a application which create a DOM(document object model) for perl files/code and whant to use the internal perl lexer for the lexing. is it possible to use the internal perl lexer for lexing perl files/code into tokens? thx mseele -- G & H Softwareentwicklung GmbH Tel.: +

Thank you for application run help

2005-08-04 Thread Ben Crane
Thanx to all for the quick help on running an app through perl... Ben __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

macperl installation module problem

2005-08-04 Thread Ben Crane
Hi all, Just trying to install the macperl internetconfig module on windows 2000 and I have a curious problem. When trying to convert my pl file to an exe it keeps asking for a types.pm within macperl...the file already exists with the mac\ folder under perl\lib? It seems to be a catch-22. It want

Re: run application command in perl?

2005-08-04 Thread John W. Krahn
Ben Crane wrote: > Hey all, Hello, > Is there a run application command in perl? I want to > run an external program via a script. perldoc -f system perldoc -f qx perldoc -f open perldoc -f exec perldoc perlopentut perldoc perlop John -- use Perl; program fulfillment -- To unsubscribe, e-ma

run application command in perl?

2005-08-04 Thread Ben Crane
Hey all, Is there a run application command in perl? I want to run an external program via a script. Regards Ben __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: