On Jul 9, 2009, at 18:22 , Moritz Lenz wrote:
Somehow the current file test syntax, 'filename' ~~ :e, looks like a not
well-though-out translation of Perl 5's syntax, -e 'filename'.


That would be because it is; originally the filetests were perl5- style, but pugs refused to parse them because you can't combine operator and word characters in a single token. (I admit to wondering if pugs' parse problems were enough of a reason to change them, especially now that pugs is pretty much dead.)

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to