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
- Re: Cross-referencing RFC 186 with RFC 183 and RFC ... Michael G Schwern
- Re: Cross-referencing RFC 186 with RFC 183 and ... Glenn Linderman
- Re: Cross-referencing RFC 186 with RFC 183 ... Michael G Schwern
- Re: Cross-referencing RFC 186 with RFC ... Glenn Linderman
- Re: Cross-referencing RFC 186 with... Michael G Schwern
- Re: Cross-referencing RFC 186 with... John Porter
- Re: Cross-referencing RFC 186 ... Eryq
- Re: Cross-referencing RFC 186 ... John Porter
- Re: Cross-referencing RFC 186 ... Eryq
- Re: Cross-referencing RFC 186 ... John Porter
- Re: Cross-referencing RFC 186 with RFC 183 and RFC ... Nathan Wiger
- Cross-referencing RFC 186 with RFC 183 and RFC 79 Glenn Linderman