File::Basename::Object 0.01
Sponsored Links
File::Basename::Object 0.01 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
916
Date added:
2007-04-25
Publisher:
Tyler MacDonald
File::Basename::Object 0.01 description
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename.
SYNOPSIS
my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html");
if(open(my $fh, <, $file)) {
print "Now reading ", $file->basename, "n";
...
}
if($file == "/another/path/to/file.htm") {
print "$file shares its base name with /another/path/to/file.htmn";
}
File::Basename::Object is an object-oriented wrapper around File::Basename. The goal is to allow pathnames to be presented and manipulated easily.
A File::Basename::Object stringifies to its full canonical pathname, so it can be used in open(), etc. without any trouble. When compared as a string (cmp, ne, eq, etc), its full canonical pathname is compared. When compared using numeric operators (==, !=, etc), the files base name is compared instead. Some methods are also provided:
SYNOPSIS
my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html");
if(open(my $fh, <, $file)) {
print "Now reading ", $file->basename, "n";
...
}
if($file == "/another/path/to/file.htm") {
print "$file shares its base name with /another/path/to/file.htmn";
}
File::Basename::Object is an object-oriented wrapper around File::Basename. The goal is to allow pathnames to be presented and manipulated easily.
A File::Basename::Object stringifies to its full canonical pathname, so it can be used in open(), etc. without any trouble. When compared as a string (cmp, ne, eq, etc), its full canonical pathname is compared. When compared using numeric operators (==, !=, etc), the files base name is compared instead. Some methods are also provided:
File::Basename::Object 0.01 Screenshot
Advertisements
File::Basename::Object 0.01 Keywords
Object 0.01
Basename
Syntax sugar
Perl module
object-oriented syntax
object-oriented
sugar
syntax
Perl
0.01
module
File::Basename::Object
FileBasenameObject
File::Basename::Object 0.01
Libraries
Programming
Bookmark File::Basename::Object 0.01
File::Basename::Object 0.01 Copyright
WareSeeker periodically updates pricing and software information of File::Basename::Object 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of File::Basename::Object 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
of syntax sugar are there
perl modules
javascript object oriented syntax
install perl module
installing perl module
xml parser perl module
atrpms perl module helper
php object oriented syntax
perl module tutorial
object oriented programming languages
Syntactic sugar
object oriented model
net ssleay perl module
object oriented software
perl module install
object oriented programming
object oriented methodology
object oriented programing
Related Software
File::Basename is a Perl module to parse file paths into directory, filename and suffix. Free Download
JOAP::Server::Object is a base class for Things Servable By JOAP Servers. Free Download
ObjectivePerl is an Objective-C style syntax and runtime for perl. Free Download
Audio::Cuefile::Parser is a Perl module for audio cuefile parser. Free Download
LSF::Hosts is a Perl module to retrieve information about LSF hosts. Free Download
Parse::Java is a Perl module that acts like a parser for Java code. Free Download
WWW::NanoRef is a Perl module that uses the API published by nanoref.com to produce shortened URLs. Free Download
B::XPath class can search Perl optrees with XPath syntax. Free Download
Latest Software
Popular Software
Favourite Software