File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ L<Net::RDAP::JCard> - a module representing an RDAP jCard object.
2424This module provides a representation of jCard properties, as described in
2525L<RFC 7095|https://www.rfc-editor.org/rfc/rfc7095.html> .
2626
27- Historically, the only way to access the contents of the C<vcardArray > property
28- of L<Net::RDAP::Object::Entity> objects was to call the C<vcard() > method and
29- get a L<vCard> object back, but the conversion was lossy. This module provides a
30- lossless and ergonomic alternative to using L<vCard> .
31-
3227=head1 CONSTRUCTOR
3328
3429 $jcard = Net::RDAP::JCard->new($ref);
3530
3631You probably don't need to instantiate these objects yourself, but if you do,
37- you just need to pass an arrayref of properties.
32+ you just need to pass an arrayref of properties (which are themelves arrayrefs) .
3833
3934=cut
4035
@@ -60,9 +55,6 @@ Returns a (potentially empty) array of L<Net::RDAP::JCard::Property> objects,
6055optionally filtered to just those that have the C<$type > type (matched
6156case-insensitively).
6257
63- Before v0.26, this method was called C<nodes() > . This name still works but is
64- deprecated and will be removed in the future.
65-
6658=cut
6759
6860sub properties {
@@ -71,6 +63,9 @@ sub properties {
7163 return grep { !$type || uc ($type ) eq uc ($_ -> type) } @{$self -> {properties }};
7264}
7365
66+ #
67+ # DEPRECATED
68+ #
7469sub nodes { shift -> properties(@_ ) }
7570
7671=pod
You can’t perform that action at this time.
0 commit comments