(no subject)

Date: 2009-08-13 08:01 pm (UTC)
Heh, no, because your "easily accomplished" clause is too broad (what's easy? what's another mechanism? does conciseness count? etc). But the example "whatever" clause in the original post is interesting and shows some features that are each either neat or horrible, depending on your point of view:
* passing args without parens
* implicit matching on $_ and the existence of $_
* void context and the lack of failure thereof

Anyway, I'm not here to argue for the beauty of the design of Perl, 'cause even I think it's horrible. There's certainly plenty of design and implementation sloppiness there to go around. One just has to look at the way sort works to be convinced of that (hint: it involves manipulating symbol tables).
This account has disabled anonymous posting.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

tim: Tim with short hair, smiling, wearing a black jacket over a white T-shirt (Default)
Tim Chevalier

November 2021

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags