Text::Placeholder::Group::Aggregator - groups groups
use Text::Placeholder; my $placeholder = Text::Placeholder->new( my $aggregator = '::Aggregator'); $aggregator->add_group( my $file_name = '::OS::Unix::File::Name', my $file_properties = '::OS::Unix::File::Properties', ); $placeholder->compile('[=file_timestamp_modification=] / [=file_name_only=] / [=file_owner_name=] / [=file_mode_rwx=]'); $aggregator->subject('/tmp/test.dat'); print ${$placeholder->execute()}, "<-\n";
Provides the placeholders of the registered groups. Rationale: there are cases where you want to set the subject only once.
Is forwarded to registered groups.
This is the first public release.
Winfried Trumper <pub+perl(a)wt.tuxomania.net>
Copyright (C) 2011 Winfried Trumper
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Text::Placeholder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Placeholder
CPAN shell
perl -MCPAN -e shell install Text::Placeholder
For more information on module installation, please visit the detailed CPAN module installation guide.