Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: A refactoring trap

by Anonymous Monk
on Aug 17, 2005 at 10:00 UTC ( #484351=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $tmp = 0;   # Make $tmp 0.
        $i ++;         # Increment $i.
        print "hello"; # Print 'hello' to the screen.
    
  2. or download this
        # Capture what's between brackets, 
        # omitting leading white space.
        /\[\s*([^\]]+)/;
    
  3. or download this
        # Capture the wiki-link.
        /\[\s*([^\]]+)/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484351]
help
Chatterbox?
[stevieb]: Coding circles around Python devs, showing how unit tests should be done, enabling easy access to everything, learning basic C to wrap for direct hardware access... I am thankful.
[stevieb]: I'm in an appreciative mood. Thank you fellow Monks, for all I know, and for the knowledge which I can pass on

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-02-25 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.