On 24 Feb 2008, at 15:00, Aristotle Pagaltzis wrote:
Something like
path { $app_base_dir / $conf_dir / $foo_cfg . $cfg_ext }
I've wanted this often. I've also wanted a clean way to lexically
supply a default target object. For example with HTML::Tiny you often
write
my $h = HTML::Tiny->new();
$h->body($h->head($h->title('FooPage')), $h->body(...));
I'd love to be able to drop the '$h->' everywhere. Like this:
$h->body( head( title( 'FooPage' ) ), body( ... ) );
I guess that would/could be a related mechanism.
--
Andy Armstrong, Hexten