|
NAMEData::Object::NameABSTRACTName Class for Perl 5SYNOPSISuse Data::Object::Name; my $name = Data::Object::Name->new('FooBar/Baz'); DESCRIPTIONThis package provides methods for converting "name" strings.METHODSThis package implements the following methods:distdist() : Str The dist method returns a package distribution representation of the name.
filefile() : Str The file method returns a file representation of the name.
formatformat(Str $method, Str $format) : Str The format method calls the specified method passing the result to the core "sprintf" function with itself as an argument.
labellabel() : Str The label method returns a label (or constant) representation of the name.
lookslike_a_filelookslike_a_file() : Bool The lookslike_a_file method returns truthy if its state resembles a filename.
lookslike_a_labellookslike_a_label() : Bool The lookslike_a_label method returns truthy if its state resembles a label (or constant).
lookslike_a_packagelookslike_a_package() : Bool The lookslike_a_package method returns truthy if its state resembles a package name.
lookslike_a_pathlookslike_a_path() : Bool The lookslike_a_path method returns truthy if its state resembles a file path.
lookslike_a_pragmalookslike_a_pragma() : Bool The lookslike_a_pragma method returns truthy if its state resembles a pragma.
newnew(Str $arg) : Object The new method instantiates the class and returns an object.
packagepackage() : Str The package method returns a package name representation of the name given.
pathpath() : Str The path method returns a path representation of the name.
AUTHORAl Newkirk, "awncorp@cpan.org"LICENSECopyright (C) 2011-2019, Al Newkirk, et al.This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file" <https://github.com/iamalnewkirk/data-object-name/blob/master/LICENSE>. PROJECTWiki <https://github.com/iamalnewkirk/data-object-name/wiki>Project <https://github.com/iamalnewkirk/data-object-name> Initiatives <https://github.com/iamalnewkirk/data-object-name/projects> Milestones <https://github.com/iamalnewkirk/data-object-name/milestones> Contributing <https://github.com/iamalnewkirk/data-object-name/blob/master/CONTRIBUTE.md> Issues <https://github.com/iamalnewkirk/data-object-name/issues>
Visit the GSP FreeBSD Man Page Interface. |