Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Perl is to stupid to understand this 1 liner.

From: jseq:mediaone at: 12-Dec-2001 18:07

Can't... resist ... replying to .... flamebait ... perl -MDate::Manip -e "print q(bad date) unless &ParseDate( q( 29-Feb-1999 ) )" I admit to cheating and using a CPAN solution, but hey that's the idiomatic way to do it. I've learned a lot from REBOL about cleaner programming style, and I've looked to apply that knowledge back into the perl coding that I do. Mixing data and script w/<DATA> and <<here, (de-)serializing data structures with Data:Dumper and 'do', using Parse::RecDescent to build grammars, functional manipulation with map/grep, etc. Perl supports the same paradigms, though some (types esp.) are bolted on a bit more coursely than others. Anyway, why not be smart and use both? John Sequeira [johnseq--pobox--com]