Changeset 5631


Ignore:
Timestamp:
06/26/09 18:51:26 (3 years ago)
Author:
ryan52
Message:

add POD to the msgfmt.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Locale-Msgfmt/bin/msgfmt.pl

    r5618 r5631  
    1212 
    1313msgfmt({in => $in, out => $opt_o, fuzzy => $opt_f}); 
     14 
     15=head1 NAME 
     16 
     17msgfmt.pl - Compile .po files to .mo files 
     18 
     19=head1 SYNOPSIS 
     20 
     21This script does the same thing as msgfmt from GNU gettext-tools, 
     22except this is pure Perl. Because it's pure Perl, it's more portable 
     23and more easily installed (via CPAN). It has two other advantages. 
     24First, it supports directories, so you can have it process a full 
     25directory of .po files. Second, it can guess the output file (if you 
     26don't specify the -o option). If the input is a file, it will 
     27s/po$/mo/ to figure out the output file. If the input is a directory, 
     28it will write the .mo files to the same directory. 
     29 
     30=head1 SEE ALSO 
     31 
     32L<Locale::Msgfmt> 
     33 
     34=head1 COPYRIGHT & LICENSE 
     35 
     36Copyright 2009 Ryan Niebur, all rights reserved. 
     37 
     38This program is free software; you can redistribute it and/or modify it 
     39under the same terms as Perl itself. 
     40 
     41 
     42=cut 
Note: See TracChangeset for help on using the changeset viewer.