Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

One for the regexp fans

by Odud (Pilgrim)
on Aug 04, 2000 at 13:22 UTC ( #26155=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($mac = $addr) =~ s/(\.|^)([0-9a-f])(?=\.|$)/${1}0$2/g;
    $mac =~ s/\.//g;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://26155]
Approved by root
help
Chatterbox?
[marto]: perldebug, never heard of the editor
[ovedpo15]: perldebug isn't any help because I need a GUI debbuger to see the value of my elements in each step. any suggestions?
[marto]: http://perlide.org

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2018-05-25 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?