Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Expr::VarSet(3)	      User Contributed Perl Documentation      Expr::VarSet(3)

NAME
	 Math::Expr::VarSet - Represents a set of variables and	there values

SYNOPSIS
	 require Math::Expr::VarSet;
	 $s=new	Math::Expr::VarSet;
	 $s->Set('a', 7);
	 $s->Get('a');

DESCRIPTION
	 Used to represent variables with values and substitutions.

METHODS
   $s=new Math::Expr::VarSet
	 Create	a new VarSet object.

   $s->Set($var, $val)
	 Sets $var to $val. Returns 1 if the $var was already set to $val ore did
	 not have a value previously, otherwise	0.

   $s->Insert($set)
	 Inserts all variables from $set into this object

   $s->tostr
	 Returns a stringrepresentation	of the set, usefull for	debugging.

   $s->Get($var)
	 Returns the value of $var.

perl v5.32.1			  1998-06-23		       Expr::VarSet(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Math::Expr::VarSet&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help