Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: replacing literals with constants

by atcroft (Abbot)
on May 14, 2022 at 16:10 UTC ( [id://11143898]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    done_testing();
    
    __END__
    
  2. or download this
    $ perl test.pl
    ok 1 - 9 .. 10 - 1 without constant (OP)
    ...
    ok 11 - 9 .. 10 with constant (proposed-11143893)
    1..11
    # Looks like you failed 2 tests of 11.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found