Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

set::object::weak(3) [suse man page]

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.12.1 2008-10-12 Set::Object::Weak(3)

Check Out this Related Man Page

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

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.2 2008-10-12 Set::Object::Weak(3pm)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Processer Set

Which command can I use to find how many processers & processer sets are available in my system. I use SUN 0S 5.7. Thanks Deepa (3 Replies)
Discussion started by: Deepa
3 Replies

2. UNIX for Dummies Questions & Answers

Grep from a file variable

I am wanting to test the output from a script. If the out put = Object does not exist. I need to delete the output file. I am using , filecontents=`grep -i Object does not exist. $1.txt` then I test the variable with, if ; then delete file But I get an error, grep: can't open... (5 Replies)
Discussion started by: jagannatha
5 Replies

3. Shell Programming and Scripting

What is Set -x

What is Set -x? (1 Reply)
Discussion started by: laknar
1 Replies

4. HP-UX

anyone ever play with omniback(data protector) command "omnir"?

playing around with a command-line restore from omniback...anyone ever play with omnir? I have the following test backup: $ omnidb -session 2008/02/01-6 Object Name Object Type Object Status... (1 Reply)
Discussion started by: mr_manny
1 Replies

5. HP-UX

How to move the entire system to a new larger drive?

Hi, I have a problem again and I hope that someone on this forum will help me in solving it. My English is weak, but I'll try to describe it clearly. I have an old computer ( HP B180) with HP-UX 10.20. I've done the hard disk image using G4L and replaced the drive. Old drive has 4.3 GB and 9.1... (7 Replies)
Discussion started by: ftwojtek
7 Replies