Set::Object::Weak man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Set::Object::Weak(3)  User Contributed Perl Documentation Set::Object::Weak(3)

NAME
       Set::Object::Weak - Sets without the referant reference increment

SYNOPSIS
	use Set::Object::Weak qw(weak_set);

	my $set = Set::Object::Weak->new( 0, "", {}, [], $object );
	# or
	my $set = weak_set( 0, "", {}, [], $object );

	print $set->size;  # 2 - the scalars aren't objects

DESCRIPTION
       Sets, but weak.	See "weaken" in Set::Object.

       Note that the "set" in "Set::Object::Weak" returns weak sets.  This is
       intentional, so that you can make all the sets in scope weak just by
       changing "use Set::Object" to "use Set::Object::Weak".

CONSTRUCTORS
       new This class method is exactly the same as "Set::Object->new", except
	   that it returns a weak set.

       weak_set( ... )
	   This optionally exported function is a shortcut for saying
	   "Set::Object::Weak->new(...)".

       set( ... )
	   This method is exported so that if you see:

	    use Set::Object qw(set);

	   You can turn it into using weak sets lexically with:

	    use Set::Object::Weak qw(set);

	   Set::Object 1.19 had a bug in this method that meant that it would
	   not add the passed members into it.

SEE ALSO
       Set::Object

CREDITS
       Perl magic by Sam Vilain, <samv@cpan.org>

       Idea from nothingmuch.

perl v5.14.1			  2008-10-12		  Set::Object::Weak(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net