in reply to Re^3: "scalar found where operator expected" while printing to a glob ref
in thread "scalar found where operator expected" while printing to a glob ref
and I have adapted it to my needs: replacing the string scalar to store the data by a file handle. Thus I am responsible for print $$self $data;. Actually I was surprised for not having the warning while using the stock module... Mea culpa.sub output { my $self = shift; $$self .= uc shift; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: "scalar found where operator expected" while printing to a glob ref
by MidLifeXis (Monsignor) on Mar 03, 2016 at 18:30 UTC |