API:EPrints/Script
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
NAME
EPrints::Script - Mini-scripting language for use in workflow and citations.
DESCRIPTION
This module processes simple eprints mini-scripts.
my $result = execute( "$eprint.type = 'article'", { eprint=>$eprint } );
The syntax is
$var := dataobj or string or datastructure
"string" := string
'string' := string
!boolean := boolean
string = string := boolean
string := string := boolean
boolean or boolean := boolean
boolean and boolean := boolean
dataobj{property} := string or datastructure
dataobj.is_set( fieldname ) := boolean
string.one_of( string, string, string... ) := boolean
string.reverse() := string ( foobar=>raboof )
?.length() := integer