RE: problems hashing

2011-01-07 Thread Jim Gibson
At 9:26 PM -0700 1/7/11, Chris Stinemetz wrote: Thanks Brandon, Ultimately I am trying to take the value from the input data in index position "31" and assign one of the three keys to it. For example if index 31 has the value 801 it should be assigned "ICT" when I run the program. I hope I ex

Re: Out of memory, HTML::TableExtract

2011-01-07 Thread C.DeRykus
On Jan 5, 10:56 pm, jinstho...@gmail.com (Jins Thomas) wrote: > Hi experts, > > Have you ever experienced Out of memory problem while using > HTML::TableExtract. I'm having little large html files, still i didn't > expect this to happen > > Would you be able to suggest some workarounds for this. I'

RE: problems hashing

2011-01-07 Thread Chris Stinemetz
Thanks Brandon, Ultimately I am trying to take the value from the input data in index position "31" and assign one of the three keys to it. For example if index 31 has the value 801 it should be assigned "ICT" when I run the program. I hope I explained it better. Thank you for your help! Chris

Re: problems hashing

2011-01-07 Thread Brandon McCaig
On Fri, Jan 7, 2011 at 10:51 PM, Chris Stinemetz wrote: > #!/usr/bin/perl > > use warnings; > use strict; > > my $data = (<>); > > #Market configurations has for cells > my %marketInfo = ( >   "STL" => { "start" => 300, >              "end"   => 599, }, >   "MCI" => {  "start" => 1, >            

RE: problems hashing

2011-01-07 Thread Chris Stinemetz
Thank you all for you help. I am still having issues getting hash to work. I have taken a different approach in extracting the data e.g different hash. What I would like to accomplish is for each 31st index (Ignoring the first line " PACE | EVDOPCMD | 33.0 | 101218 | 07 |" I would like to assign

Re: advangtes of Perl on various languages

2011-01-07 Thread Brandon McCaig
On Thu, Jan 6, 2011 at 10:08 AM, Raymond Wan wrote: > I use C more than Perl in my work and I definitely don't think it is > obsolete. I never said it was. ;) C still has very many important roles and I wouldn't have it any other way. xD There were a lot of other people in college that were terri

Re: advangtes of Perl on various languages

2011-01-07 Thread Jeff Pang
2011/1/6 Raymond Wan : > > > Brandon again (sorry, maybe should have written two replies) -- I was > going to avoid this thread but while working today, I was reading > another program's documentation and they gave a script to run their > program in Python.  That's when I realized that the recent p

Re: Function to print Object properties

2011-01-07 Thread Alan Haggai Alavi
Hi Parag, On Friday 07 January 2011 07:55:38 Parag Kalra wrote: > Anyways I want to know is there any function or a way that would > reveal all the properties of the object. Introspect the symbol table hash (stash): use strict; use warnings; use Data::Dumper; use Foo::Bar; my $fob = Foo::Bar->

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Rob Dixon [mailto:rob.di...@gmx.com] >Sent: Thursday, January 06, 2011 21:49 >To: David Wagner >Cc: beginners@perl.org >Subject: Re: Getting LineFeed for Excel within q quoted field > >At 11:55 -0600 06/01/2011, David Wagner wrote: >> >> For something that should

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John Delacour [mailto:johndelac...@gmail.com] >Sent: Thursday, January 06, 2011 11:33 >To: beginners@perl.org >Subject: RE: Getting LineFeed for Excel within q quoted field > >At 11:55 -0600 06/01/2011, David Waner wrote: > >> >From: John Delacour [mailto:johndel

RE: Getting LineFeed for Excel within q quoted field

2011-01-07 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John Delacour [mailto:johndelac...@gmail.com] >Sent: Wednesday, January 05, 2011 18:32 >To: Perl Beginners >Subject: Re: Getting LineFeed for Excel within q quoted field > >At 17:56 -0600 04/01/2011, Wagner, David wrote: > > >>I am generating an CSV and want a cou

Re: advangtes of Perl on various languages

2011-01-07 Thread Raymond Wan
Octavian, For what it's worth, I thought you've done very well with this crowd and that your first and subsequent posts on this topic was balanced and fair. But it seems this crowd was biased toward Perl, so even being fair is hard. A mailing list of users who use Perl and who read job boards di