Offer Kaye
Recent Actions
-
Commented on Fluent interfaces in Perl 6
Ovid - cool on you for taking the time to spread Perl6 knowledge, especially on such an important site as Wikipedia - keep up the good job :) However... "Perl 6 uses different idioms and the given idiom above is...
-
Commented on blogs.perl.org... Perl's Death by 1,000 Cuts
Guess it's fixed? At least sign-in worked fine for me....
-
Commented on Avoid a Common Software Bug By Using Perl 6
Very nice article, thank you very much Ovid! One question though, about this code: die unless $_[0] =~ /^\d+$/; One obvious bug is that it will accept octal numbers such as "040". Will the Perl6 "Int" type prevent such numbers?...
-
Commented on Rakudo is ...
@jnareb, why are you wondering about performance at all, let alone compared to another language? Have you even read Ovid's post? Performance at this point in time is not a factor. Just drop it....
-
Commented on Benchmarking perl 5 and perl 6: part I - loading overhead
while loading Perl 5 interpreter takes about 9 seconds. I guess you meant 0.009 seconds? :)...
-
Posted P6 Gentle Intro, Part 2 to offer.kaye
Arrays
A Perl 6 arrays is an ordered container for a list of scalar items - meaning, you can count on the order of items in the…
-
Posted A Gentle Introduction to Perl 6 Using Rakudo Star to offer.kaye
So, Rakudo Star was recently released and I decided to give it a try. So far, I like what I'm seeing.
… -
Commented on Insight on SWIG?
http://perl.org.il/presentations/offer_kaye_swig/index.html My friend (and person who introduced me to Perl :)) Shlomo Yona, pushed me to write the above lightning talk and give it at one of the YAPC::IL::2003. SuffixTree is a fairly simple library so if I recall correctly,...
-
Commented on iCPAN: CPAN on your iPhone
Regarding ePub versions of perldoc, the site http://perldoc.perl.org/ already offers PDF versions of individual pages and there's a downloadable tarball with all HTML and PDF files at http://perldoc.perl.org/perldoc.tar.gz I've seen PDF->ePub converters on the web, so with a little Perl...
-
Commented on First Edition
"I came across a little gem" At first I was like "hmm this guy is nuts" but then I decided to take a look at the Amazon page for this edition. $57 for a single used one listed?! That is...
-
Commented on TIMTOWTGTDV!
Lucky for you that you didn't try to review Getopt modules or this would be a *really* long post :D...
-
Commented on What would you like TPF to do?
"Ideally, The Perl Foundation would just be a bank account and a checkbook... TPF provides the way for people to give money that can be funneled to projects, and a way to give money to projects. Anything outside of those...
-
Commented on Parsing Perl 2: Down the Garden Path
Hi Jeffrey, I couldn't find your email listed in the Marpa documentation so I'm using this space to let you know - there seems to be some problem with the Marpa distribution versioning on CPAN. The latest Marpa version should...
-
Commented on Getting Married and Posting to Blogger
"so I am not only a very lucky man, but I'm going to be totally screwed on presents" Hehe, I know the feeling :) (wedding date is 2 days away from the my birthday) Congratulations on everything, including getting the...
-
Commented on PHP has include(index.php); what does Perl have?
Since others before me recommended TT, let me recommend also HTML::Template, a.k.a. "HT". HT is very simply to learn/use and very simple to install (only core dependencies). It follows the principle of separating code (Perl) from design (HTML) and provides...
-
Commented on Posting to blogger?
Oh and here's a simpler option - just enable posting via email in your Blogger account (Settings -> Email & Mobile) and post to blogger via an email created with your Perl script :)...
-
Commented on Posting to blogger?
Maybe this thread will be helpful: http://groups.google.com/group/bloggerDev/browse_thread/thread/4e751bb3e728ee9c It includes some working code which may still work, although it is old (2007)....
-
Commented on Dates in Latin
"I'm getting married on June 20th." Congratulations :)...
-
Commented on Almost Reinventing XPath for YAML
Just a note about the grep, "grep -r ." in the directory with the files would have worked. But of course a Perl based solution is much better and faster :)...
Comment Threads
-
Don Vito Perleone commented on
blogs.perl.org... Perl's Death by 1,000 Cuts
One more test.
-
philcoke commented on
blogs.perl.org... Perl's Death by 1,000 Cuts
dawwwwwwwwwwwwwwwwwwwww
-
Ovid commented on
Fluent interfaces in Perl 6
Offer, we can safely set public attributes here because Perl 6 makes it trivial to allow powerful subsets which are more or less "the data types you want", but created on the fly.
Also, you can see an older version I did (with Jonathan's help with the MOP hackery) at this older version of that.
You'll note that you can use your version, but if you want it multi-line, you have to end each line with a backslash (or else Perl 6 will think that
.foo
is being called on… -
Aristotle commented on
Fluent interfaces in Perl 6
Also you are directly setting attributes, rather than using a public API - isn't that usually something bad in OO code?
Attributes in the interface don’t have to translate to fields in the class and assignments to such attributes don’t have to mean unchecked writes to private fields. It’s trivial to provide the same attribute interface outwardly but actually implement it with accessors/mutators behind the scenes.
Just because that code would be bad in Java doesn’t mean it’s bad in Perl 6.
-
Rohit M commented on
Fluent interfaces in Perl 6
Great news, I love Perl. Thanks a ton
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.