$obj = $module->new(); $obj->parse("-- greeting:gsub: /hi/hello"); # don't say "hi" $obj->parse("-- numbers:gsub: /\D//"); # digits only $obj->parse("-- numbers:exchange: 1,2,3 one,two,three"); # then spell out the numbers $obj->parse("-- when:date: %Y-%m-%d 08:00:00"); # format like a date, force to 8am $obj->stack(action => 'gsub', name => 'when', format => '/1995/1996/'); # my company does not recognize the year 1995. $cleaned = $obj->apply({greeting => "good morning", numbers => "t2", when => "2010116"}); #### $obj->define("chew", \&CookieMonster::chew); $obj->parse("column:chew: 3x"); # chew the column 3 times