pages

▼

Thursday, November 23, 2006

good-grief camel



spot and i just teamed up to build a remote command interface using java and perl. and my word, the perl script required is 11 characters. that's creepy and unnatural.

but it does work.

WHAT'S THE LESBIAN DOING IN MY PIRATE MOVIE?

i'm overdue for that weekend i was talking about.

3 comments:

  1. Any chance of seeing this 11 character wonder?

    ReplyDelete
  2. if spot agrees to pass it along, then i suppose so...

    ReplyDelete
  3. well... it started as a 20 char wonder (ignoring whitespace, which perl does):

    $|=1;
    while(<>){
    print;
    }

    this was run as follows:
    [bash]$ perl tester.pl > CMI

    this was then shortened to:
    $|=1;print;

    and run:
    [bash]$ perl -n tester.pl > CMI

    granted $|=1; is read a ton of extra times but its still a useful perl script ^.^

    ReplyDelete

Note: Only a member of this blog may post a comment.