- Timestamp:
- 2010-05-14T12:34:32+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugin.pm
r22037 r22087 189 189 } 190 190 # need to escape backslash before putting in to the eval 191 $options =~ s/\\/\\\\/g; 191 # but watch out for any \" (which shouldn't be further escaped) 192 $options =~ s/\\([^"])/\\\\$1/g; 192 193 $options =~ s/\$/\\\$/g; 194 195 193 196 eval ("\$plugobj = new \$pluginname([],[$options])"); 194 197 die "$@" if $@;
Note:
See TracChangeset
for help on using the changeset viewer.