HomePage RecentChanges Moose

The beginning - I am porting a large project (as part of a refactor) to Moose... I will keep a list of modules I use here, and possibly issues...

Daemon & Command lines

The project runs as a daemon from the command line.

Sub types

I will need to do some advanced types, we should do as much validation as possible.


Complex validation

I have two parameters - 'path' and 'script' - where 'path' is optional and has a default, and 'script' should be an executable in 'path'. But how do we check?

subtype 'script'
 => where { -x "$path/$_" };

but where to get $path...

Software error:

Can't locate object method "endform" via package "CGI" at /data/scott.dd.com.au/wiki/modules/search.pl line 15.

For help, please send mail to the webmaster (webmaster@dd.com.au), giving this error message and the time and date of the error.