App-CSVUtils-csv_mix_formulas

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    *   ingredient_field => *str*

        Specify field which contain the ingredient names.

    *   inplace => *true*

        Output to the same file as input.

        Normally, you output to a different file than input. If you try to
        output to the same file ("-o INPUT.csv -O") you will clobber the
        input file; thus the utility prevents you from doing it. However,
        with this "--inplace" option, you can output to the same file. Like
        perl's "-i" option, this will first output to a temporary file in
        the same directory as the input file then rename to the final file
        at the end. You cannot specify output file ("-o") when using this
        option, but you can specify backup extension with "-b" option.

        Some caveats:

        *   if input file is a symbolic link, it will be replaced with a

lib/App/CSVUtils/csv_mix_formulas.pm  view on Meta::CPAN


=item * B<ingredient_field> => I<str>

Specify field which contain the ingredient names.

=item * B<inplace> => I<true>

Output to the same file as input.

Normally, you output to a different file than input. If you try to output to the
same file (C<-o INPUT.csv -O>) you will clobber the input file; thus the utility
prevents you from doing it. However, with this C<--inplace> option, you can
output to the same file. Like perl's C<-i> option, this will first output to a
temporary file in the same directory as the input file then rename to the final
file at the end. You cannot specify output file (C<-o>) when using this option,
but you can specify backup extension with C<-b> option.

Some caveats:

=over

script/csv-mix-formulas  view on Meta::CPAN

chosen depending on the application and/or whether output destination is
interactive terminal (i.e. whether output is piped). This option specifically
chooses an output format.


=item B<--inplace>

Output to the same file as input.

Normally, you output to a different file than input. If you try to output to the
same file (C<-o INPUT.csv -O>) you will clobber the input file; thus the utility
prevents you from doing it. However, with this C<--inplace> option, you can
output to the same file. Like perl's C<-i> option, this will first output to a
temporary file in the same directory as the input file then rename to the final
file at the end. You cannot specify output file (C<-o>) when using this option,
but you can specify backup extension with C<-b> option.

Some caveats:

=over



( run in 0.840 second using v1.01-cache-2.11-cpan-4e96b696675 )