David Freeman wrote:
[...]
Perl is a write only language. I looked into it and it made no sense what so ever. If you want a weird language like this use LISP. almost everything perl does can be done with sed and awk.
Hi, I guess that it just goes to show that some people love chocolate and others vanilla - just as well they make both :)
After using Fortran, Cobol, SCL (Algol), Basic, Pascal, C, and all the ghastly sed/awk variants, Perl came as a breeze of sanity. I don't go down all the back lanes but usually I type something in and it does what I thought it was going to. Perhaps it is me but Algol and Perl suit my little brain - or else it is because Larry Wall and I are the same age and made the same experiments in our youths :)
I'm sure
#!/usr/bin/perl
()**(%*&"$*("$%*()"&$"kjhdkjh)()))$!"*(£!&£!()*&*(~@~@{{}?>?>?>)(*)(*£!£!£)
\x00
/* might just work with perl */
No it doesn't - but try this:
perl -e 'print map chop, sort split shift, reverse shift ' 'j_' 'e._jP;_jr/_je=_jk{_jn*_j &_j :_j @_jr}_ja)_js$_j ~_jh]_jt,_jo+_jJ"_jr>_ju#_jt%_jl?_ja^_jc`_jh-_je|' -rjk-
OR
perl -e '$_="\012534`!./4(%2`\cp%2,`(!#+%2j";s/./""\c$&""/gees;print'
I guess that any language is open to abuse/inventation but only perl makes poetry a possibility.
Regards, Dermot