From: damien l. <da...@ba...> - 2003-03-23 16:01:10
|
i'd like to know recommendations regarding custom code that is relevant globally, not just in a specific OI package: for OI.regex_chunk() i need a multiple-line match; i could add an 's' before the semicolon in the line: my ( $item ) = $str =~ /$match/; or should i subclass Plugin.pm somehow, or use a component? if i do the latter, for miscellaneous components like this, should i wrap it in a new OI package? or just edit $OIWEBSITE/conf/action.perl and put a mysite.pm somewhere and a use() somewhere (where?)? damien -- http://babelguides.com/ <<world literature in translation>> |