Re: PDF-API2

2005-06-21 Thread Rick Measham
G'day Dermot, Why bother with all the rotation stuff? Why not just make a landscape document? I believe the following script will suit your purposes (unless I've misunderstood them) For those interested in PDF::API2, but frustrated by the lack of documentation, I have a tutorial (that Derm

Re: text to words and back

2005-06-21 Thread John W. Krahn
Ing. Branislav Gerzo wrote: Hello all, Hello, I have $text = '(this) is just really small test.'; in loop I want get all 2-words and 3-words: 2 words: (this) is is just just really really small small test. 3 words: (this) is just is just really ...and so on This is not a big deal, 2 words

Re: text to words and back

2005-06-21 Thread Ing. Branislav Gerzo
Xavier Noria [XN], on Tuesday, June 21, 2005 at 18:31 (+0200) thinks about: XN> What about doing and split first on the whole text and then use array XN> slices? not bad idea, will try to play with that, it is easier for this task as while regexp loop -- ...m8s, cu l8r, Brano. [If you cant f

Re: trying up date a hash

2005-06-21 Thread John W. Krahn
Brent Clark wrote: Hi all Hello, Would anyone be so kind as to look at my code. Im trying to create a hash of hashes Thanks in advance Brent Clark while(){ chomp; @linex = split(/\|/); my %xmlData = ( 'bbookdate' => $linex[0], 'bbooktime' => $linex[1],

Re: text to words and back

2005-06-21 Thread Xavier Noria
On Jun 21, 2005, at 18:24, Ing. Branislav Gerzo wrote: $text = '(this) is just really small test.'; in loop I want get all 2-words and 3-words: What about doing and split first on the whole text and then use array slices? -- fxn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

text to words and back

2005-06-21 Thread Ing. Branislav Gerzo
Hello all, I have $text = '(this) is just really small test.'; in loop I want get all 2-words and 3-words: 2 words: (this) is is just just really really small small test. 3 words: (this) is just is just really ...and so on This is not a big deal, 2 words I did with: while ($text =~ /(?=(\S+\s

PDF::API2

2005-06-21 Thread Dermot Paikkos
Hi perlers, This is a rather specialised query about the module PDF::API2. I am trying to create PDFs on the fly. The first attempt worked fine and I was delighted with the results. Then I was asked to make something similar with landscape orientation. It started well but I have hit a problem

Re: trying up date a hash

2005-06-21 Thread mgoland
- Original Message - From: Brent Clark <[EMAIL PROTECTED]> Date: Tuesday, June 21, 2005 8:52 am Subject: trying up date a hash > Hi all Hello, > > Would anyone be so kind as to look at my code. > > Im trying to create a hash of hashes > > Thanks in advance > > Brent Clark > >

Re: trying up date a hash

2005-06-21 Thread Jeff 'japhy' Pinyan
On Jun 21, Brent Clark said: Hi all Would anyone be so kind as to look at my code. Im trying to create a hash of hashes while(){ chomp; @linex = split(/\|/); You should have 'my' in front of @linex; there's no reason to use a global variable there. my %xmlData = ( [snipped] );

trying up date a hash

2005-06-21 Thread Brent Clark
Hi all Would anyone be so kind as to look at my code. Im trying to create a hash of hashes Thanks in advance Brent Clark while(){ chomp; @linex = split(/\|/); my %xmlData =