> "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
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
> "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>
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
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
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
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
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
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
>>>>> "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
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
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
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
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(
14 matches
Mail list logo