Welcome to the Monastery | |
PerlMonks |
Re^2: How to increment a MAC Address?by aditya.singh (Acolyte) |
on Jun 16, 2005 at 12:04 UTC ( [id://467253]=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
|
|