Re: hash

2008-05-23 Thread Rob Dixon
Bobby wrote: > > This is what i'm trying to accomplish. I want to be able to print the > equivalent EU to US sizes. For example in the flat file data, the US size 10 > has the equivalent of Euro 34, US 11=35 Euro. My idea was to put the US sizes > in a hash (%US) and the Euro in another hash (%EU)

Re: same variable defined twice

2008-05-23 Thread R. Hicks
Octavian Rasnita wrote: Hi, I've tried the following script and it works fine: use strict; my $text = 1; my $text = 2; print $text; Shouldn't perl disallow defining the $text variable a second time in the same script if using "use strict"? Thank you. Octavian I just ran into this: my $li

Re: scaling text

2008-05-23 Thread R. Hicks
zentara wrote: You really didn't say how you are making the badges, like is there a limited defined bounding box that each name must fit in? Or can you adjust the name-box size to accomodate longer names? etc. etc. zentara I am being handed pre-made badges of 121x120. The first line of pixel

Re: hash

2008-05-23 Thread Bobby
This is what i'm trying to accomplish. I want to be able to print the equivalent EU to US sizes. For example in the flat file data, the US size 10 has the equivalent of Euro 34, US 11=35 Euro. My idea was to put the US sizes in a hash (%US) and the Euro in another hash (%EU) ; use the pid as the

Re: same variable defined twice

2008-05-23 Thread Alan C
On Fri, May 23, 2008 at 12:15 AM, Alan C <[EMAIL PROTECTED]> wrote: > On Thu, May 22, 2008 at 5:57 AM, Octavian Rasnita <[EMAIL PROTECTED]> > wrote: > [ . . ] >Next shows a block or lexical scope (mask does not happen) versus when in the same scope (in global, not using a separate scope block) w

Re: same variable defined twice

2008-05-23 Thread Alan C
On Thu, May 22, 2008 at 5:57 AM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi, > > I've tried the following script and it works fine: > > use strict; > my $text = 1; > my $text = 2; > print $text; > > Shouldn't perl disallow defining the $text variable a second time in the > same script if usi