Re: Can't use string ("1") as a HASH ref while "strict refs"

2011-09-23 Thread Rob Dixon
On 21/09/2011 20:57, Randal L. Schwartz wrote: >> "Rob" == Rob Dixon writes: > > Rob> I don't have Try::Tiny installed, but will take a look. I am back at my desk, and have this horror from you to respond to. I had started to enjoy some of your posts, and hoped that your legendary brutal ne

Re: Perl file handling

2011-09-23 Thread Uri Guttman
> "M" == Maggs writes: M> sub read_file{ M> local ($filevar) = @_; don't use local for that (or for much else). use my. local is meant now only for special cases with dynamic scoping. M> <$filevar>; M> } why do you need a whole sub to read a line? just <$filevar> does the

Re: Perl file handling

2011-09-23 Thread Maggs
On Sep 23, 1:54 am, 2teezp...@gmail.com (timothy adigun) wrote: > Hello Maggs, > > >> KS >Ken Slater wrote: > > KS>>OP was using trying to use 'open_file' to open one file handle at a > time. > KS>>Arguments were presumably the file handle variable, mode, and  file > name. > KS>>Your examp

Re: Strawberry Perl Installing CPAN modules

2011-09-23 Thread Shlomi Fish
Hi, On Wed, 21 Sep 2011 11:30:10 -0400 Perl developer wrote: > Thanks for the reply. How to install the headers? > you probably need to install the Teradata development package. Its installation procedure should be documented somewhere there. It's probably here: http://downloads.teradata.com/