Re: [Module-build-general] file i/o stuff
Status: Beta
Brought to you by:
kwilliams
|
From: Uri G. <ur...@st...> - 2003-08-30 22:17:53
|
>>>>> "KW" =3D=3D Ken Williams <ke...@ma...> writes: KW> On Saturday, August 30, 2003, at 02:03 AM, Uri Guttman wrote: >>=20 >> i have been looking at Base.pm and how it does various file things. i >> see use of IO::File and also of open. and much code could be factored >> out into subs that write hashes with data::dumper and load them back >> in. i will do a pass over those subs and send in a patch. not sure when >> i will get it done but maybe next week. KW> Lemme apply patch this pre=EBmptively. a good patch (so far :) you still are doing the slower print vs syswrite and also the read slurping can be factored out. if you want to do that before i can, be my guest. :) i just don't like using IO::File for simple I/O stuff. it gains nothing and it slows stuff down. i am working on my new slurp module which will be much faster than print (which uses stdio, buffering and does lots of stuff inside). i will let you know when you can get the code and paste it in. thanx, uri --=20 Uri Guttman ------ ur...@st... -------- http://www.stemsystems.c= om --Perl Consulting, Stem Development, Systems Architecture, Design and Codin= g- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.o= rg Damian Conway Class in Boston - Sept 2003 -- http://www.stemsystems.com/cla= ss |