Eval
poker-eval is a C library to evaluate poker hands. The result of the evalution for a given hand is a number. The general idea is that if the evalution of your hand is lower than the evaluation of the hand of your opponent, you lose. Many poker variants are supported (draw, holdem, omaha, etc.)...
Platforms: *nix
License: Freeware | Size: 460.8 KB | Download (48): poker-eval Download |
Text::Quote contains quotes strings as required for perl to eval them back correctly. SYNOPSIS use Text::Quote; my @quotes=map{$quoter->quote($_,indent=>6,col_width=>60)}( "The time has come" the walrus said, "to speak of many things..." ,"...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (95): Text::Quote Download |
Exception::Class::TryCatch is a syntactic try/catch sugar for use with Exception::Class. SYNOPSIS use Exception::Class::TryCatch; # simple usage of catch() eval { Exception::Class::Base->throw(error) }; catch my $err and warn $err->error; # catching only certain types or else...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (88): Exception::Class::TryCatch Download |
Persistent::mSQL is a persistent class implemented using a mSQL database. SYNOPSIS use Persistent::mSQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (92): Persistent::mSQL Download |
Persistent::Sybase is a persistent class implemented using a Sybase database. SYNOPSIS use Persistent::Sybase; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (101): Persistent::Sybase Download |
Persistent::Oracle is a persistent class implemented using an Oracle database. SYNOPSIS use Persistent::Oracle; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (95): Persistent::Oracle Download |
Persistent::MySQL is a persistent class implemented using a MySQL database. SYNOPSIS use Persistent::MySQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (97): Persistent::MySQL Download |
Persistent::LDAP is a persistent class implemented using a LDAP directory. SYNOPSIS use Persistent::LDAP; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $person = new...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (88): Persistent::LDAP Download |
Data::Dumper module contains stringified perl data structures, suitable for both printing and eval. SYNOPSIS use Data::Dumper; # simple procedural interface print Dumper($foo, $bar); # extended usage with names print Data::Dumper->Dump([$foo, $bar], [qw(foo *ary)]); # configuration...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (97): Data::Dumper Download |
Libeval provides simple means of evaluating simple arithmetic expressions involving literal numeric values, variables and functions using the addition (+), subtraction (-), multiplication (*), division (/), modulo division (), exponentiation (^), sign (+-), percentag (%) and grouping (())...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (95): Libeval Download |
Evaluate is a Dashboard widget that uses the Javascript 'eval' function to process text entered into an input line. The results are output to a buffer so that you can view/copy results from previous calculations. Since the widget uses the eval function to process input you can use the widget to...
Platforms: Mac
License: Freeware | Download (94): Evaluate Download |
PowerBroker for Servers® empowers system administrators with the ability to delegate privileges and authorization without disclosing the root password on Unix/Linux and Mac OS X platforms. PowerBroker for Servers equips enterprises with highly flexible policy language unifying security across...
Platforms: Linux, Linux Open Source, Unix
License: Freeware | Size: 14.31 MB | Download (417): PowerBroker Servers Eval Version Download |
BeyondTrust PowerBroker Desktops allows administrators to assign permissions to applications and tasks, enabling the users to do their job safely and without interruption. With PowerBroker Desktops, organizations control the execution of applications, software installs, ActiveX controls, and...
Platforms: Windows
License: Freeware | Size: 15.95 MB | Download (414): PowerBroker for Desktops Eval Version Download |
text template system (Perl5): * only one-file * only perl5-core-module * no use 'eval' * but, it can bool-expr (ex.'(name =~ 'washing_powder') && (price < 10)')
Platforms: Windows, Mac, Linux
License: Freeware | Size: 7.15 KB | Download (46): PetitTemplate Download |
In this script, Eval's __getitem__ returns the result of eval(key). In Python, String and Unicode objects have one special operator: the % operator. With that operator, strings can be formatted with format codes.Formatting is given syntax format % values, where format is a string with format...
Platforms: Windows, Mac, *nix, Python, Solaris
License: Freeware | Download (62): Evaluating code inside strings Download |
Often, you might want to let (untrusted) users input simple Python expressions and evaluate them, but the eval-function in Python is unsafe. The restricted execution model in the rexec module is deprecated, so you need another way ensure only "safe" expressions will be evaluted: analyzing...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Safe Expression Evaluation Download |
Sometimes you would want to create objects from various classes based on some condition (without using eval()). For example when parsing X(HT)ML files you want to handle some tags using specific classes. This script is an example in this sense.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (61): Create objects from variable class names Download |
This script allows you to run a linear equations solver using eval and built-in complex numbers.One could add one more line to insert '*' where needed, i.e. "100x" -> "100*x", add some input validation, in particular check whether the equation is actually linear and not quadratic or cubic, and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Linear equations solver Download |
Problem definition:This code is to help beginners to understand how reading multiple variables into a function and storing them within a loop without using 'eval' function. This is more of a tutorial code than a specific one.I have multiple variables (X1,X2,X3,...,X10) stored in a mat file, i.e....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Workspace variables into functions Download |
B = CELL2STR(C) returns a B such that C = EVAL(B).This is the same as NUM2STR, except it works on cell arrays that contain strings and numeric arrays. C must be a 2D cell array. B will be a string that can be evaluated. to return a cell array identical (up to numerical accuracy) to C.Optional...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): cell2str Download |