[prev] [thread] [next] [lurker] [Date index for 2006/12/22]
> You know, in Perl, the equivalent of the C snippet would just be: > > do_some_process; > > while in do_some_process, you'd use the '<>' to read input. Perl has > the > snippet build in - if there are no arguments, '<>' will read from the > file(s) given as arguments. Yep, Perl is full of rigidly defined areas of doubt and uncertainty like that. The fix to pointlessly obscure syntax is to introduce more obscure syntax that handles some common cases that the pointlessly obscure syntax makes difficult... without actually doing anything about the fact that you have to use do_some_process(STDIN); but do_some_process(*INPUT); when you suddenly realize that you need to handle files ending with ".o" differently from files ending in ".a" and by the way doesn't that mean that file boundaries actually matter now...?There's stuff above here
Generated at 14:01 on 28 Dec 2006 by mariachi 0.52