Main > Programming > Libraries >

Tie::Formatted 0.02

Tie::Formatted 0.02

Sponsored Links

Tie::Formatted 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1012
Date added: 2007-01-15
Publisher: Joe McMahon

Tie::Formatted 0.02 description

Tie::Formatted is a Perl module embed sprintf() formatting in regular print().

SYNOPSIS

use Tie::Formatted;
print "The value is $format{$number, "%3d"} ",
"(or $format{$number, "%04x"} in hex)n";

print "some numbers: $format{ 12, 492, 1, 8753, "%04d"}n";

This module creates a global read-only hash, %format, for formatting data items with standard sprintf format specifications. Since its a hash, you can interpolate it into strings as well as use it standalone.

The hash should be "accessed" with two or more "keys". The last key is interpreted as a sprintf format for each data item specified in the preceeding arguments. This allows you to format multiple items at once using the same format for each.

Alternate name

If you prefer, you can specify a different name for the magical formatting hash by supplying it as as argument when useing the module:

use Tie::Formatted qw(z);

This makes %z the magic hash instead.

print "This is hex: $z{255, "%04x"}n";

Tie::Formatted currently supports only one format in the final argument; this may change if there is demand for it.

Tie::Formatted 0.02 Screenshot

Advertisements

Tie::Formatted 0.02 Keywords

Bookmark Tie::Formatted 0.02

Hyperlink code:
Link for forum:

Tie::Formatted 0.02 Copyright

WareSeeker periodically updates pricing and software information of Tie::Formatted 0.02 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 Tie::Formatted 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Tie::FormA is a Perl module that can access a machine readable database file that minics a hardcopy form. Free Download
Tie::Form is a Perl module to access a machine readable database file that minics a hardcopy form. Free Download
Time::Format is a Perl module for easy-to-use date/time formatting. Free Download
Date::Formatter Perl module is a simple Date and Time formatting object. Free Download
Tie::Hash::Sorted Perl module presents hashes in sorted order. Free Download
Tie::Eudora is a Perl module that can encode/decode emails, read/write emails in Eudora mailbox files. Free Download
DateTime::Format::Excel is a Perl module that can convert between DateTime and Excel dates. Free Download
Fortran::Format is a Perl module to read and write data according to a standard Fortran 77 FORMAT. Free Download