in reply to (Golf) Patriotic Golf

use LWP::Simple;print+(get"http://perlmonks.org/?node=112874")=~/(\*.*?)</s 75 characters. Hehe!

Replies are listed 'Best First'.
Re: Re: (Golf) Patriotic Golf
by blakem (Monsignor) on Sep 18, 2001 at 01:56 UTC
    Ha, you better hope no one actually creates a node named 112874, like someone did with 847 (opposed to node_id=847)... Anyway, I chopped three chars off it like this.
    use LWP::Simple;print+(get"http://3467251276/?node=112874")=~/(\*.*?)< +/s

    -Blake

      If LWP::Simple is installed, GET should be too, so I make it in 51 chars. Oh, and I print to STDERR instead.
      die+(`GET "3467251276/?node=112874"`)=~/(\*.*?)</s

      _____________________________________________________
      Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
      s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Re: Re: (Golf) Patriotic Golf
by MrNobo1024 (Hermit) on Sep 18, 2001 at 06:04 UTC
    Since it's frontpaged now, I can get that one down to 63. (The extra space is needed because somebody said "*BSD")
    use LWP::Simple;print+(get"http://perlmonks.org")=~/(\* .*?)</s
    update: it got knocked off the front page, so this won't work any more :-(

    -- MrNobo1024

    s]]HrLfbfe|EbBibmv]e|s}w}ciZx^RYhL}e^print