Results 1 to 5 of 5

Thread: unusual request

  1. #1
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Hornsby Heights, New South Wales, Australia
    Posts
    3,822
    Thanks
    0
    Thanked 0 Times in 0 Posts

    unusual request

    a "friend" of mine sent me this and asked me to tell him, without running the program, what it does.

    I've been perling for years, but, I had to admit defeat, I just couldn't see the blatantly obvious.

    Any lounger out there who can figure it out, without running it <img src=/S/question.gif border=0 alt=question width=15 height=15> <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    <hr><pre>#!/usr/bin/perl
    $_=++$_+$_;($:,$,,$*,$~,$.,$/)=($!=$_)=~/.(..)(.).(..)....(.)......(.).+?(.)$/;
    $@="$~$*$:";$_+=$_*=$_;($*,$:,$[img]/forums/images/smilies/wink.gif[/img]=($!=$_)=~/.(.)[^$.]+.(.)(.)/;
    $_/=$_;$|=$_++;`$@"$:$~$.$.$/ $*$:$;$," $|>&$_`;
    __END__
    $_=++$_+$_;
    ($:,$,,$*,$~,$/,$.) = ($! = $_) =~ /.(..)(.).(..)....(.)......(.).....(.)/;
    $@="$~$*$:";
    $_*=$_+$_;
    ($*,$:,$[img]/forums/images/smilies/wink.gif[/img] = ($!=$_) =~ /.(.)......(.)(.)/;
    $_ /= $_;
    $| = $_++;
    print "$@ $:$~$/$/$. $*$:$;$, $|>&$_", "n";
    `$@ "$:$~$/$/$. $*$:$;$," $|>&$_`;
    </pre>

    <hr>
    Good luck <img src=/S/thinks.gif border=0 alt=thinks width=15 height=15>
    Cheers, Claude.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: unusual request

    I think this thread should be moved to the Puzzles board. <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

  3. #3
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Newark, New Jersey, USA
    Posts
    800
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: unusual request

    I agree... maybe it'll give hans something to think about for a few seconds (see <post#=330388>post 330388</post#>)
    have fun
    <IMG SRC=http://www.wopr.com/w3tfiles/33-312966-ldywolfsig.jpg> <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>
    Moderator
    www.theladywolf.com

  4. #4
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: unusual request

    It prints, "Just another perl hacker."

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: unusual request

    Awwww, you ran it..... <img src=/S/razz.gif border=0 alt=razz width=25 height=17> cheater cheater!
    -Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •