Keep It Simple, Stupid | |
PerlMonks |
Re^2: How to increment a MAC Address?by aditya.singh (Acolyte) |
on Jun 16, 2005 at 12:24 UTC ( [id://467259]=note: print w/replies, xml ) | Need Help?? |
You code prints: 00:00:00:00:00:99 00:00:00:00:01:00 00:00:00:00:01:01 OP wants: 00:00:00:00:00:99 00:00:00:00:01:99 00:00:00:00:02:99 and so on. Note: Once the pair of digit reaches 99, it does not roll back to 00.
In Section
Seekers of Perl Wisdom
|
|