Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: ?: = Obfuscation?

by chargrill (Parson)
on Dec 01, 2006 at 16:34 UTC ( #587232=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        print $_ ? do {
                        $trip = $trip ? 0
    ...
                                                  } || '-'
                                             : ' '
                         : ' ';
    
  2. or download this
    my $x = $counter > 4 ? 1 : 0;
    
  3. or download this
    my $x;
    if( $counter > 4 ){
    ...
    else {
      $x = 0;
    }
    
  4. or download this
    s**lil*;  $*=join'',sort split q**;  s;.*;grr; &&s+(.(.)).+$2$1+; $; =
    qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-11-24 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls