Vincent Caron
- About: Yet another Perl hacker.
Recent Actions
-
Commented on Perl and Me, Part 5: Speaking with the speech of coders
Thanks for this great post series. It makes me realize why I love Perl although I remember I had such a hard time to learn it at first (programming CGI's back in '98). And why other languages feel a bit...
-
Commented on how I learned to plot a mandelbrot set
Mandelbrot is a cool example, I've been found about fractals for more than 20 years... This year, while giving a Perl course to my students, I demo'ed a Mandelbrot sample with SDL (10 minutes). Then sped it up by rewriting...
-
Commented on Why you don't need File::Slurp…
There's a flaw IMHO, read() may not return the whole file content (and actually it won't with large files), depends on OS buffering. The usual boilerplate includes a while() and buffer concatenation. With a small fix that could still be...
Comment Threads
-
Buddy Burden commented on
Perl and Me, Part 5: Speaking with the speech of coders
Thanks for the compliments Vincent. I'm not a fan of Python, but I like what little of Ruby I've played with. It just doesn't compare to Perl, in most ways.
I think you hit the nail on the head with this comment:
And programming without pleasure and motivation gives dull programs.
Amen brother. :-)
-
Buddy Burden commented on
Perl and Me, Part 5: Speaking with the speech of coders
Nate, thanks for the kind words, and I think you grokked what I was trying to say in this post perfectly. Not all Perl is literature, just as not all writing is literature. But some of it is, and often literature influences language just as language influences literature. It's a dialectic, to use a fancy word I learned in college. ;->
-
ajr commented on
Perl and Me, Part 5: Speaking with the speech of coders
Would a language with exactly one way to say things be a monolect?
-
Mike Doherty commented on
Why you don't need File::Slurp…
Would you benchmark this method of slurping, which is what I typically see?
my $contents = do { local $/; open my $in, '<', $filename; <$in> };
Might be worth adding to https://github.com/melo/perl-benchmarks
-
Damien "dams" Krotkine commented on
Why you don't need File::Slurp…
I like to use this for non production code :)
my $content = do{local(@ARGV,$/)=$filename;<>};
I don't think it's useful to benchmark it :)
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.