This repository was archived by the owner on Feb 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed
Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ install:
1717 - export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
1818
1919script :
20- # - dzil smoke --release --author && ( dzil build --in DPHYS-MacAddress && cd DPHYS-MacAddress && perl Makefile.PL && make && cover -test -report coveralls || true )
21- - dzil smoke --author && ( dzil build --in DPHYS-MacAddress && cd DPHYS-MacAddress && perl Makefile.PL && make && cover -test -report coveralls || true )
20+ - dzil smoke --release --author && ( dzil build --in DPHYS-MacAddress && cd DPHYS-MacAddress && perl Makefile.PL && make && cover -test -report coveralls || true )
2221
Original file line number Diff line number Diff line change @@ -127,5 +127,32 @@ C<DPHYS::MacAddress> object. These objects have a number of methods available.
127127
128128=method colons
129129
130- C<$mac- > colons()> returns the MAC address in colon separated for with pairs of
130+ C<$mac- > colons()> returns the MAC address in colon separated form with pairs of
131131hex digits.
132+
133+ =method cisco
134+
135+ C<$mac- > cisco()> returns the MAC address in dot separated form with groups of
136+ four hex digits like it is used by CISCO.
137+
138+ =method dashes
139+
140+ Much like C<colons > but the MAC address uses dashes C<- > as separators. This
141+ format is often used on Microsofts platforms.
142+
143+ =method hex
144+
145+ Just the 12 hex digits representing the MAC address.
146+
147+ =method is_multicast
148+
149+ True when the MAC address is a multicast address, false otherwise.
150+
151+ =method is_local
152+
153+ True for MAC addresses designated for locally assigned addresses, false otherwise.
154+
155+ =method BUILDARGS
156+
157+ This method is not supposed to be called directly. It enables the constructor
158+ to be called with the single argument being the MAC address.
You can’t perform that action at this time.
0 commit comments