Changeset 2670 for trunk/tools
- Timestamp:
- Oct 5, 2008, 11:22:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/piwigo_remote.pl
r2634 r2670 7 7 use LWP::UserAgent; 8 8 use Getopt::Long; 9 use Encode qw/is_utf8 decode/; 9 10 10 11 my %opt = (); 11 12 GetOptions( 12 13 \%opt, 13 qw/action=s file=s thumbnail=s categories=s define=s%/14 qw/action=s file=s thumbnail=s high=s categories=s define=s%/ 14 15 ); 15 16 … … 62 63 categories => $opt{categories}, 63 64 }; 65 66 if (defined $opt{high}) { 67 $form->{high_content} = encode_base64(read_file($opt{high})); 68 $form->{high_sum} = file_md5_hex($opt{high}); 69 } 64 70 65 71 foreach my $key (keys %{ $opt{define} }) {
Note: See TracChangeset
for help on using the changeset viewer.