Glenn Linderman wrote:
> 
> I have a number of scripts that use this sort of facility, using push/shift
> to populate/read the array "file".  These could be made simpler and more
> general by wrapping the array as a file.
> 
> Perhaps the open "handler" stuff could be used to implement this?
> Efficiently?

I think this is a definite possibility:

   $FH = open scalar $myvar;
   print $FH "stuff";

Then the scalar handler would just have to provide the necessary print()
et al methods to do scalar manipulation. Theoretically this can be done
modularly, without having to wedge it into the core binary, while still
being able to get speed benefits.

-Nate

Reply via email to