in reply to Re^2: Moose and File::Temp
in thread Moose and File::Temp
So it is impossible to use while(<$self->{IamAfileHandleAttribute}>) { ... } > to read a file, outside my constructor.
I guess I will have to do:
my $temp_fh = $self->{IamAfileHandleAttribute}; while (<$temp_fh>) { ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Moose and File::Temp
by tinita (Parson) on Nov 19, 2012 at 14:52 UTC |
In Section
Seekers of Perl Wisdom