[VPM] override perl-types

Peter Scott Peter at PSDT.com
Mon Nov 13 18:11:50 PST 2006


At 05:18 PM 11/13/2006, Jer A wrote:
>i have an idea, and I wonder if it can be done using just perl code.

Yes, it can.  perldoc perltie.

>I would like to override a datatype, so when that type is 
>initialized,acted apon,or manipulated,I can customize the code, and 
>store the data in a different way, eg. in memory or whatever.
>
>eg. suppose I want @arr to be actually a concatinated string, but act 
>as if it is an array.
>
>I hope you understand what I am getting at.
>I am using perl 5.8.


-- 
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/
http://www.perlmedic.com/



More information about the Victoria-pm mailing list