Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

equal treatment

by Anonymous Monk
on Oct 26, 2019 at 22:26 UTC ( #11108002=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # https://www.perlmonks.org/index.pl?node=equal+treatment
    system 'clear';
    ...
      elsif (/3/) { print "Bye"; exit }
      else        { print "Try again." }
    }
    
  2. or download this
    # https://news.ycombinator.com/item?id=20127987
    import os
    ...
            exit()
        else:
            print "Try again."
    
  3. or download this
    # https://news.ycombinator.com/item?id=20123365
    clear
    ...
        echo "Try again." 
      fi
    done
    
  4. or download this
    REM https://news.ycombinator.com/item?id=20118639
    5 CLS
    ...
    310 IF RND>.5 THEN PRINT "/"; ELSE PRINT "\";
    320 GOTO 310
    400 PRINT "Bye."
    
  5. or download this
    use Inline Python => <<'END';
    # paste the py code here and run under perl! =)
    END
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://11108002]
Approved by davies
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-08-14 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (77 votes). Check out past polls.

    Notices?