App::Dthumb::Data - Retrieve installed data (like lightbox images)
use App::Dthumb::Data; my $data = App::Dthumb::Data->new(); $data->set_vars( title => 'Something funky', ); print $data->get('html_start.dthumb'); open(my $fh, '>', 'close.png'); print {$fh} $data->get('close.png'); close($fh);
This manual documents App::Dthumb::Data version 0.2
Returns a new App::Dthumb object. Does not take any arguments.
Set replacement variables. For each hash key, when outputting data using the get function, dthumb will replace occurences of "<!-- $key -->" or "/* $key */" (the dollar sign is literal) with its value.
Returns an array of all saved data. That is, all files which do not end in ".dthumb".
Returns the exact content of share/$filename.
Data::Section
Copyright (C) 2011 by Daniel Friesel <derf@chaosdorf.de>
0. You just DO WHAT THE FUCK YOU WANT TO.
To install App::Dthumb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dthumb
CPAN shell
perl -MCPAN -e shell install App::Dthumb
For more information on module installation, please visit the detailed CPAN module installation guide.