[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Quine, ontology, and Perl



At 12:23 PM 5/11/00 -0400, Bernie Cosell wrote:
>Not on mine, and it highlights why that approach is not in the spirit of
>JAPH.  Consider doing the following:
>
>cat >a <<EOF
>#!/bin/bash
>echo Not a Perl Hacker
>EOF
>chmod +x a
>
>and then you have:
>     perl -e 'die`a`'
>
>Do I win???

Uh, not as long as I can

% cat > a
print "Just another Perl hacker\n"

% perl a

Just came up with this and the output looks familiar, but I don't remember 
where I might have seen it before:

perl -00lane 'print "@F[23136,2037,30074,19230]"' /usr/dict/words

Not terribly portable though...

--
Peter Scott
Pacific Systems Design Technologies


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe