Re: Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Uri Guttman
> "CH" == Chap Harrison writes: CH> On Apr 25, 2011, at 10:59 AM, Uri Guttman wrote: >> another real world template is the boilerplate in contracts >> and legal documents. they have the document written out and fill in all >> the blank parts. it is a very common concept and well worth

Re: Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Chap Harrison
On Apr 25, 2011, at 10:59 AM, Uri Guttman wrote: > another real world template is the boilerplate in contracts > and legal documents. they have the document written out and fill in all > the blank parts. it is a very common concept and well worth knowing how > to do it in perl. I'm fully on board

Re: Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Uri Guttman
> "CH" == Chap Harrison writes: CH> On Apr 25, 2011, at 3:12 AM, Uri Guttman wrote: >> finally, i am very proud of the code quality in those two modules. feel >> free to look at them, ask me questions, flame the code, etc. i have no >> issues with anything said about my code. CH>

Re: Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Jim Gibson
At 9:46 AM -0500 4/25/11, Chap Harrison wrote: I'm not saying that an introduction to templates belongs in the module documentation, but can you (or somebody else) tell me what, generically, a "Template" module is for? A Template is a method for generating files with dynamic content. In th

Re: Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Chap Harrison
On Apr 25, 2011, at 3:12 AM, Uri Guttman wrote: > finally, i am very proud of the code quality in those two modules. feel > free to look at them, ask me questions, flame the code, etc. i have no > issues with anything said about my code. I'm an "advanced beginner" and I'm embarrassed to say that

Template::Simple .04 and File::Slurp .16 are on cpan

2011-04-25 Thread Uri Guttman
amples and documentation on how each one works. it also has compiled templates which speeds up rendering. there is a benchmark script which compares Template::Simple to Template::Teeny and the Template Toolkit. the other module i have released to cpan is File::Slurp .16. this module is a simple and f

Re: File/Slurp module

2011-03-19 Thread Uri Guttman
CS> File/Slurp.pm line 159. CS> Since you created the File::Slurp module I was curious if you knew what the fix is? simple. don't slurp super large files. the article included with the module says that. anything reading that much in will wipe out virtual ram and such. slurp doesn&#

Re: File/Slurp module

2011-03-19 Thread Brian Fraser
my raw files I get the following error: > > Out of memory during "large" request for 536875008 bytes, total sbrk() is > 880640 bytes at /usr/lib/perl5/site_perl/5.10/ > File/Slurp.pm line 159. > > Since you created the File::Slurp module I was curious if you knew

File/Slurp module

2011-03-19 Thread Chris Stinemetz
Uri, When I try to parse one of my raw files I get the following error: Out of memory during "large" request for 536875008 bytes, total sbrk() is 880640 bytes at /usr/lib/perl5/site_perl/5.10/ File/Slurp.pm line 159. Since you created the File::Slurp module I was curious if you kne

Re: errors? warnings? when installing file-slurp from ActiveState repository using ppm (using ActivePerl_5.8.7.815)

2006-03-07 Thread Uri Guttman
>>>>> "TJ" == Timothy Johnson <[EMAIL PROTECTED]> writes: TJ> I can't reproduce the error. You should contact ActiveState about this. TJ> They're pretty good about finding these things. I believe File-Slurp is TJ> a pure Perl module, so

RE: errors? warnings? when installing file-slurp from ActiveState repository using ppm (using ActivePerl_5.8.7.815)

2006-03-07 Thread Timothy Johnson
I can't reproduce the error. You should contact ActiveState about this. They're pretty good about finding these things. I believe File-Slurp is a pure Perl module, so you should be able to just copy the Slurp.pm file into perl\site\lib\File and you should be good. -Origin

errors? warnings? when installing file-slurp from ActiveState repository using ppm (using ActivePerl_5.8.7.815)

2006-03-07 Thread Wolcott, Kenneth A
Hi; Could someone explain what functionality I don't have or issues that I might experience as a result of these warning(s) and/or error(s) that I receive when installing file-slurp from the ActiveState repository via ppm (using ActiveState Perl version 5.8.7.815)? What can I or should I

Re: File::Slurp

2001-07-24 Thread Michael Fowler
On Tue, Jul 24, 2001 at 09:25:14AM -0600, Elliott, Don (Police) wrote: > I have noticed that no one giving advice about accessing, reading, writing > files uses the module File::Slurp. I stumbled across it and have been using > it for several months. > To read a file I say my $var

File::Slurp

2001-07-24 Thread Elliott, Don (Police)
I was just wondering, I have noticed that no one giving advice about accessing, reading, writing files uses the module File::Slurp. I stumbled across it and have been using it for several months. To read a file I say my $var = read_file("some_file"); To write a file I say write_file(