Re: yaml file conversion

2011-03-03 Thread Brandon McCaig
On Thu, Mar 3, 2011 at 6:39 PM, Brandon McCaig wrote: > I don't know if I'd call it easier. I'm not personally familiar with > YAML so I only bothered to parse the example that you gave. Actually looking into YAML it seems much more complicated than this so unless you know for sure that the input

Re: yaml file conversion

2011-03-03 Thread Brandon McCaig
On Thu, Mar 3, 2011 at 5:40 PM, Jim Green wrote: > manually populate another hash and dump. But is there a easier way of > doing this I might not be aware of? I don't know if I'd call it easier. I'm not personally familiar with YAML so I only bothered to parse the example that you gave. #!/usr/b

Re: yaml file conversion

2011-03-03 Thread Jim Gibson
On 3/3/11 Thu Mar 3, 2011 3:11 PM, "Jim Green" scribbled: > On Mar 3, 5:44 pm, shawnhco...@gmail.com (Shawn H Corey) wrote: >> On 11-03-03 05:40 PM, Jim Green wrote: >> >>> But is there a easier way of >>> doing this I might not be aware of? >> >> Given your brief description, no.  The proble

Re: yaml file conversion

2011-03-03 Thread Jim Green
On Mar 3, 5:44 pm, shawnhco...@gmail.com (Shawn H Corey) wrote: > On 11-03-03 05:40 PM, Jim Green wrote: > > > But is there a easier way of > > doing this I might not be aware of? > > Given your brief description, no.  The problem is that you can't output > the first datum without reading the last,

Re: yaml file conversion

2011-03-03 Thread Shawn H Corey
On 11-03-03 05:40 PM, Jim Green wrote: But is there a easier way of doing this I might not be aware of? Given your brief description, no. The problem is that you can't output the first datum without reading the last, because the last may be the first thing that needs to be outputted. -- J

yaml file conversion

2011-03-03 Thread Jim Green
Hello: I have a yaml file key1: a: value1 b: value1 key2: a: value2 b: value2 I want it converted to a: key1:value1 key2:value2 b: key1:value1 key2:value2 I could use YAML module to load the first yaml file to a hash and manually populate another hash and dump. But is th

Re: multidimensional array check

2011-03-03 Thread Rob Dixon
On 03/03/2011 17:16, vito pascali wrote: I'm really new to perl and programmation too so don't bear on me if I will say something wrong pls... :) The problem: I have 3 querys to 2 different oracle databases: 1)script query G1: #!/usr/bin/perl -w use DBI; use warnings; my ( $db ); $db = DBI

Re: Please put the sources of the book "Modern Perl" under CC-by-sa

2011-03-03 Thread Shlomi Fish
Dear chromatic, I now realise that this E-mail was phrased in a very impolite manner. I did not intend that to be the case, but that's how I often tend to write my emails (it's one of my many faults that I'm investing time in remedying, but it will take me some time to fully resolve.). I hope y

Re: Testing File Contents

2011-03-03 Thread C.DeRykus
On Mar 2, 9:55 am, lm7...@gmail.com (Matt) wrote: > I am looking for a simple way to test if a file does not contain a > string.  This is on a linux box. > > if myfile does not contain mystring { >   #do_something; >   } > > The file is basically a list of names and I want to test that a > certain

Re: multidimensional array check

2011-03-03 Thread Jim Gibson
On 3/3/11 Thu Mar 3, 2011 9:16 AM, "vito pascali" scribbled: > Hi there, > I'm really new to perl and programmation too so don't bear on me if I will > say something wrong pls... :) > > The problem: > > I have 3 querys to 2 different oracle databases: [queries snipped] > I need that the res

multidimensional array check

2011-03-03 Thread vito pascali
Hi there, I'm really new to perl and programmation too so don't bear on me if I will say something wrong pls... :) The problem: I have 3 querys to 2 different oracle databases: 1)script query G1: #!/usr/bin/perl -w use DBI; use warnings; my ( $db ); $db = DBI->connect( "dbi:Oracle:host=x.x.x.

Re: Extracting Data from PDF files

2011-03-03 Thread Joe
I basically run our pdfs through a pdf 2 txt converter and extract the data from the text files. It is pretty simple. On 3/3/2011 6:21 AM, Mike Blezien wrote: - Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03, 2011 6:04 AM Subject: Re: Extracting Data

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03, 2011 6:04 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:35 AM, "Mike Blezien" wrote: - Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03,

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:35 AM, "Mike Blezien" wrote: > > - Original Message - From: "shawn wilson" > Cc: "Perl List" > Sent: Thursday, March 03, 2011 5:22 AM > Subject: Re: Extracting Data from PDF files > > > >> On Mar 3, 2011 6:07 AM, "Mike Blezien" wrote: >>> >>> >>> Hello, >>> >>> I posted

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03, 2011 5:22 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:07 AM, "Mike Blezien" wrote: Hello, I posted a question earlier about creating a PDF file from a PDF form submission whic

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:07 AM, "Mike Blezien" wrote: > > Hello, > > I posted a question earlier about creating a PDF file from a PDF form submission which we now have working. We are able to create the PDF file to be attached to an email. > > The issue I'm having now is the ability to extract some specif

Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
Hello, I posted a question earlier about creating a PDF file from a PDF form submission which we now have working. We are able to create the PDF file to be attached to an email. The issue I'm having now is the ability to extract some specific data from these PDF file created. We need to extrac