Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Refactoring Perl #3 - Inline Temp

by agianni (Hermit)
on Jul 17, 2007 at 19:39 UTC ( [id://627111]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $base_price = $self->an_order->base_price();
    return ( $base_price > 1000 );
    
  2. or download this
    return ( $self->an_order->base_price() > 1000 );
    
  3. or download this
    my $thing = $that_object->that_method->{thing};
    $obj->do_this_with( $thing );
    $obj->do_that_with( $thing );
    
  4. or download this
    perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi
    +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79
    +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://627111]
Approved by Corion
Front-paged by adrianh
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-23 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found