Re: hash value and grep / get some files searched and indexed

2006-04-08 Thread Alan_C
On Friday 07 April 2006 03:34, John W. Krahn wrote: Alan_C wrote: Hi, Hello, [ snip ] my @keys = sort keys %data; I find learning how to write Perl a bit spacey -- and also, not unlike that of learning in the sport of skiing where I fell down a lot when I was learning the moguls. I

Re: hash value and grep / get some files searched and indexed

2006-04-08 Thread Jaime Murillo
On Saturday 08 April 2006 01:08, Alan_C wrote: On Friday 07 April 2006 03:34, John W. Krahn wrote: Alan_C wrote: Hi, Hello, [ snip ] #!/usr/bin/perl -w use strict; @ARGV = glob 'xtst*'; my %data; while ( ) { my ( $key, @keywords ) = split; if ( $key eq

Wanted: Help selecting XPath/XMLDom/HTML parser

2006-04-08 Thread Siegfried Heintze
Which module will load raw HTML into a XMLDom so I can query it with Xpath? I can find HTML parsers and XML parsers but I'm having trouble finding an HTML DOM (not SAX) parser that accepts Xpath queries. Thanks, Siegfried -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Command Line Question

2006-04-08 Thread Max von Seibold
Hello, I want to run an image conversion program to rotate the contents of an entire directory. This is run as thus: jpegtran -rotate 90 *.jpg The problem is that I need to specify the filename for each converted image. Is there some command which 'takes' the value of the file for each

FW: Wanted: Help selecting XPath/XMLDom/HTML parser

2006-04-08 Thread Siegfried Heintze
Let me try this again now that I am subscribed to the list! -Original Message- From: Siegfried Heintze [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 12:03 PM To: 'Perl Beginners' Subject: Wanted: Help selecting XPath/XMLDom/HTML parser Which module will load raw HTML into a

audio

2006-04-08 Thread Ryan Perry
I want to write a program that will play an audio file. How can I do this with perl? An external library or program? Thanks! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Command Line Question

2006-04-08 Thread Jay Savage
On 4/8/06, Max von Seibold [EMAIL PROTECTED] wrote: Hello, I want to run an image conversion program to rotate the contents of an entire directory. This is run as thus: jpegtran -rotate 90 *.jpg The problem is that I need to specify the filename for each converted image. Is there some

Re: audio

2006-04-08 Thread Jay Savage
On 4/8/06, Ryan Perry [EMAIL PROTECTED] wrote: I want to write a program that will play an audio file. How can I do this with perl? An external library or program? Thanks! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

increment operator

2006-04-08 Thread Alan_C
Hi, [EMAIL PROTECTED]:~$ this_pl_script word array print $size prints at 3 and it finds each of the 3 words entered on the command line. But the order of the printed out found words isn't what I expected -- I had expected the ouput order of 1st word, 2nd word, 3rd word as entered on the

Re: increment operator

2006-04-08 Thread Chris Charley
- Original Message - From: Alan_C [EMAIL PROTECTED] Newsgroups: perl.beginners To: beginners@perl.org Sent: Saturday, April 08, 2006 8:47 PM Subject: increment operator Hi, [EMAIL PROTECTED]:~$ this_pl_script word array print $size prints at 3 and it finds each of the 3 words

Re: increment operator

2006-04-08 Thread Chris Charley
- Original Message - From: Alan_C [EMAIL PROTECTED] Newsgroups: perl.beginners To: beginners@perl.org Sent: Saturday, April 08, 2006 8:47 PM Subject: increment operator Hi, [EMAIL PROTECTED]:~$ this_pl_script word array print $size prints at 3 and it finds each of the 3 words

Is this correct in perl?

2006-04-08 Thread Practical Perl
Hello, When I receive a signal (for example,TERM or INT) from terminal,I want to get the process exit immediately.But the process have some childs running,so he would tell the childs to exit before he exit.So I write a kill statement (used to kill childs) in parent's signal handler.For example:

Re: Command Line Question

2006-04-08 Thread Jeff Pang
I want to run an image conversion program to rotate the contents of an entire directory. This is run as thus: jpegtran -rotate 90 *.jpg The problem is that I need to specify the filename for each converted image. Is there some command which 'takes' the value of the file for each

Re: increment operator

2006-04-08 Thread Alan_C
On Saturday 08 April 2006 20:19, Chris Charley wrote: - Original Message - From: Alan_C [EMAIL PROTECTED] [ . . ] Hi, [EMAIL PROTECTED]:~$ this_pl_script word array print $size prints at 3 and it finds each of the 3 words entered on the command line. But the order of the