in reply to How to prevent references from stringifying?

Do you want this to work for all file handles or just STDOUT? You could replace STDOUT with a tied object which checks for references.
  • Comment on Re: How to prevent references from stringifying?

Replies are listed 'Best First'.
Re^2: How to prevent references from stringifying?
by diotalevi (Canon) on Oct 03, 2004 at 02:07 UTC
    I would like this to happen against general stringification. I used print as an example. I could have said "$ref". I'm getting files named SCALAR(0x....) in my home directory and I don't know why.