Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: TDD with Coverage Analysis. Wow.

by xdg (Monsignor)
on Aug 27, 2005 at 11:13 UTC ( #487124=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open( my $fh, ">", $output ) or die_with_error();
    
  2. or download this
    my $value = $some_other_value || undef;
    
  3. or download this
    my $filename = $some_filename || default_filename();
    
  4. or download this
    my $filename = $some_filename ? $some_filename : default_filename();
    
  5. or download this
    # original
    my $filename = prompt_for_filename() || default_filename();
    ...
    my $prompted_filename = prompt_for_filename();
    my $filename = $prompted_filename ? $prompted_filename 
                                      : default_filename();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-11-26 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (173 votes), past polls