Thread

Posted on Fri Aug 26 19:27:26 2005 by sanug
Test of Log::StdLog
How does the passing of an undefined reference to a scalar in
our $FILE_CONTENTS; use Log::StdLog { file => \$FILE_CONTENTS, level => 'all' };

allow the open to work?
I always thought that a string with a filename was required.

Is there another set of documentation that defines what is going on here?

I have played with the code to see what is going on.
It appears that each time print occurs, it appends to the end of the string pointed to the reference.
Direct Responses: 944 | Write a response
Posted on Mon Aug 29 02:29:37 2005 by sanug in response to 938
Re: Test of Log::StdLog
It appears that each time print occurs, it appends to the end of the string pointed to the reference.

should have been

It appears that each time print occurs, it appends to the end of the string pointed to by the reference.
Write a response