Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Set-String

Strings as objects with lots of handy methods

Set::String allows you to create strings as objects and use OO-style methods on them. Many convenient methods are provided here that appear in the FAQ's, the Perl Cookbook or posts from comp.lang.perl.misc. In addition, there are Set methods with corresponding (overloaded) operators for the purpose of Set comparison, i.e. +, ==, etc.

The purpose is to provide built-in methods for operations that people are always asking how to do, and which already exist in languages like Ruby. This should (hopefully) improve code readability and/or maintainability. The other advantage to this module is method-chaining by which any number of methods may be called on a single object in a single statement.

Homepage:
Package version:0.03
Architecture:noarch
Distribution:RPMForge
Filename:perl-Set-String-0.03-1.2.el4.rf.noarch.rpm

/usr/share/doc/perl-Set-String-0.03/README

NAME
    Set::String - Strings as objects with lots of handy methods (including
    set comparisons) and support for method chaining.

SYNOPSIS
    "my $s1 = Set::String->new("Hello");"

    "my $s2 = Set::String->new("World!\n");"

    "$s1->length->print; # prints 5"

    "$s1->ord->join->print; # prints 72,101,108,108,111"

    "$s2->chop(3)->print; # prints 'Worl'"

PREREQUISITES
    Perl 5.6 
more»

/usr/share/man/man3/Set::String.3pm.gz

String(3)        User Contributed Perl Documentation       String(3)



NAME
       Set::String - Strings as objects with lots of handy methods
       (including set comparisons) and support for method chaining.

SYNOPSIS
       "my $s1 = Set::String->new("Hello");"

       "my $s2 = Set::String->new("World!\n");"

       "$s1->length->print; # prints 5"

       "$s1->ord->join->print; # prints 72
more»

/usr/share/doc/perl-Set-String-0.03/Changes

Revision history for Perl extension Set-String.

0.01  Tue Mar 12 08:20:47 2002
	- original version; created by h2xs 1.21 with options
		-A -X -n String

0.02  Wed Mar 13 08:14:00 2002
        - added 'crypt', 'decrypt', 'index', 'ord', 'pos' and 'substr' methods

0.03  Thur Apr 25 09:23:44 2002
        - added the 'unpack' function
        - overloaded the 'pack' function
        - fixed the zip 
more»

Browse inside perl-Set-String-0.03-1.2.el4.rf.noarch.rpm

1.32 KB2014-11-27HEADER  view  37 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Set-String-0.03-1.2.el4.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com