modules maillist

2006-07-03 Thread Ken Perl
hi, Is there a maillist talking about or seeking a module to a specific requirement? For example, I want to write a module or application to store all the glossary in my head, first, I search it on cpan.org but and don't find any userful module, but I still want to confirm that no one hasn't done

RE: modules maillist

2006-07-03 Thread Jeff Peng
Is there a maillist talking about or seeking a module to a specific requirement? There are some lists about CPAN,maybe that's you wanted. For example: cpan-discuss A general, non-technical list for talking about any issue of CPAN. cpan-interface A list for people interested in developing a

how use Function

2006-07-03 Thread Umar Draz
hi dear members! i am new in Perl community i want to declare a function and try to pass some parameters same as i do in php. First i declare a function (umar). sub umar ($width, $height) { $area = $width * $height / 2; return $area; } after that is I call function through a variable

Re: how use Function

2006-07-03 Thread Beginner
On 3 Jul 2006 at 3:04, Umar Draz wrote: > hi dear members! > > i am new in Perl community i want to declare a function and try to pass > some parameters same as i do in php. First i declare a function (umar). > > > sub umar ($width, $height) { > $area = $width * $height / 2; > return

Re: how use Function

2006-07-03 Thread D. Bolliger
Umar Draz am Montag, 3. Juli 2006 12:04: > hi dear members! Hello Umar > i am new in Perl community i want to declare a function and try to pass > some parameters same as i do in php. First i declare a function (umar). > > > sub umar ($width, $height) { > $area = $width * $height / 2; >

Re: using MS Excel generated .xml files

2006-07-03 Thread Jay Savage
On 6/30/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: On Fri, 2006-30-06 at 17:07 +0100, Gary Stainburn wrote: > Hi folks > > I'm just about to look into writing a perl prog to read in an excel > spreadsheet and us that to populate a SQL database. > > The idea is to save the spreadsheet as a

Parse XMP file -- foreach problem

2006-07-03 Thread Andrej Kastrin
Dear Perl community I have to parse ID, TITLE and SYMBOL fields from the file below. In this manner I wrote (modify actually) simple script to do that for me. 001 FIRST TITLE SYMBOL AAA SECOND CCC 002 SECOND TITLE SYMBOL HHH Script below work well, if there is

Re: [OT] Can't redirect before fork().

2006-07-03 Thread Danijel Tasov
Mumia W. wrote: > In the parent, I want to redirect STDOUT to 'logfile' then fork. In the ^^^ ^^ > Here is my code: > > use strict; > use warnings; > use constant EXIT_OK => 0; > > $SIG{CHLD} = "IGNORE"; > my $child = fork(); Where is

Re: Parse XMP file -- foreach problem

2006-07-03 Thread D. Bolliger
Andrej Kastrin am Montag, 3. Juli 2006 21:08: > Dear Perl community Hi Andrej > I have to parse ID, TITLE and SYMBOL fields from the file below. In this > manner I wrote (modify actually) simple script to do that for me. > > > > > 001 > FIRST TITLE > SYMBOL AAA > SECOND CCC >

Re: Parse XMP file -- foreach problem

2006-07-03 Thread Mumia W.
Andrej Kastrin wrote: [...] $symbol=$e->{symbol}; print "$id|$title|$symbol\n"; } Use the 'ref' command to find out if $symbol is an 'ARRAY' reference. If it is, use 'join' to join all the elements into a string and put it back into $symbol before you print. -- To unsubscribe, e-mail: [EM

Re: Detecting line terminators in a CSV file

2006-07-03 Thread Daniel Kasak
John W. Krahn wrote: > Daniel Kasak wrote: > >> John W. Krahn wrote: >> >>> perldoc -f binmode >>> >> binmode is what I was after - thanks :) >> > > Then don't forget to use the correct characters for this: "\015" for Carriage > Return and "\012" for Line Feed; as using "\n" may