NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
[Syntax] is fugly (Score:1)
(Had a visceral reaction just after reading the example code.)
Reduction operators with '[' ']' look horrendously ugly as they remind me of Subject: header of mailing lists which either include the list name or the major topic in square brackets.
But, I will take it even if I don't have to like it.
- parv
Re:[Syntax] is fugly (Score:1)
I personally don't have a problem with the usage of [] (and remembering the recent PHP \ namespace separator "fiasco" :-) ...)
Hopefully with Perl 6's mutable grammar that Larry et al envisioned, you will be able to change the syntax. Of course this is not yet implemented in any of the current Perl 6 implementations.
Reply to This
Parent