Result:
found more than 661 distributions - search limited to the first 2001 files matching your query ( run in 0.681 )


App-BinPackUtils

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Algorithm::BinPack" : "0",
            "Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
            "Data::Sah::Coerce::perl::To_float::From_str::suffix_datasize" : "0",
            "Data::Sah::Compiler::perl::TH::array" : "0",
            "Data::Sah::Compiler::perl::TH::bool" : "0",
            "Data::Sah::Compiler::perl::TH::float" : "0",
            "Data::Sah::Compiler::perl::TH::int" : "0",

 view all matches for this distribution


App-BloomUtils

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Algorithm::BloomFilter" : "0",
            "Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
            "Data::Sah::Coerce::perl::To_num::From_str::percent" : "0",
            "Data::Sah::Compiler::perl::TH::array" : "0",
            "Data::Sah::Compiler::perl::TH::float" : "0",
            "Data::Sah::Compiler::perl::TH::int" : "0",
            "Data::Sah::Compiler::perl::TH::num" : "0",
            "Data::Sah::Compiler::perl::TH::str" : "0",

 view all matches for this distribution


App-BookmarkFeed

 view release on metacpan or  search on metacpan

script/bookmark-feed  view on Meta::CPAN

    * [Alex Schroeder](https://alexschroeder.ch/)
    * [Emacs Wiki](https://www.emacswiki.org/)

Or your might be using quotes, like this:

    > Seventy eight percent of Americans—including 66% of Republicans—are
    > concerned about climate change, a number that has increased dramatically
    > in the last 3 years. … The lack of public discussion reinforces the norm
    > that others are not concerned and hampers the likelihood of collective
    > organization to address climate change. Misconceptions take on an even
    > larger significance when we remember that those in positions of power are

 view all matches for this distribution


App-Brl2Brl

 view release on metacpan or  search on metacpan

share/de-de.dis  view on Meta::CPAN

display \x0020 0					#32					space
display \x0021   5				#33		!			exclamation mark
display \x0022    4				#34		"			quotation mark
display \x0023   3456			#35		#			number sign
display \x0024 46					#36		$			dollar sign
display \x0025 123456			#37		%			percent sign
display \x0026 12346			#38		&			ampersand
display \x0027  6					#39		'			apostrophe
display \x0028	236		#40	(			left parenthesis
display \x0029  356		#41	)			right parenthesis
display \x002A	35		#42	*			asterisk

 view all matches for this distribution


App-CPAN-Mini-Visit

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

 view all matches for this distribution


App-CSV2Chart

 view release on metacpan or  search on metacpan

lib/App/CSV2Chart/Command/svg.pm  view on Meta::CPAN


    my $dir = tempdir();

    if ( "$dir" =~ /%/ )
    {
        die "Invalid dir path $dir contains percent signs";
    }

    my $xlsx = $dir->child("temp.xlsx");

    App::CSV2Chart::API::ToXLSX::csv_to_xlsx(

 view all matches for this distribution


App-CSVUtils-csv_mix_formulas

 view release on metacpan or  search on metacpan

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


Each formula is a CSV comprised of at least two fields. The first field (by
default literally the first field, but can also be specified using
`--ingredient-field`) is assumed to contain the name of ingredients. The second
field (by default literally the second field, but can also be specified using
`--weight-field`) is assumed to contain the weight of ingredients. A percent
form is recognized and will be converted to its decimal form (e.g. "60%" or
"60.0 %" will become 0.6).

Example, mixing this CSV:

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

        output_format => {
            summary => 'A sprintf() template to format the weight',
            schema => 'str*',
            tags => ['category:formatting'],
        },
        output_percent => {
            summary => 'If enabled, will convert output weights to percent with the percent sign (e.g. 0.6 to "60%")',
            schema => 'bool*',
            tags => ['category:formatting'],
        },
        output_percent_nosign => {
            summary => 'If enabled, will convert output weights to percent without the percent sign (e.g. 0.6 to "60")',
            schema => 'bool*',
            tags => ['category:formatting'],
        },
    },
    add_args_rels => {
        choose_one => ['output_percent', 'output_percent_nosign'],
        choose_all => ['ingredient_field', 'weight_field'],
    },
    tags => ['category:combining'],

    # we modify from csv-concat

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


        for my $ingredient (sort { ($ingredients->{$b}{ $r->{weight_field} } <=> $ingredients->{$a}{ $r->{weight_field} }) ||
                                       (lc($a) cmp lc($b)) } keys %$ingredients) {

          FORMAT: for my $weight ($ingredients->{ $r->{weight_field} }) {
                if ($r->{util_args}{output_percent}) {
                    $weight = ($weight * 100) . "%";
                    last FORMAT;
                } elsif ($r->{util_args}{output_percent_nosign}) {
                    $weight = ($weight * 100);
                }
                if ($r->{util_args}{output_format}) {
                    $weight = sprintf($r->{util_args}{output_format}, $weight);
                }

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


Each formula is a CSV comprised of at least two fields. The first field (by
default literally the first field, but can also be specified using
C<--ingredient-field>) is assumed to contain the name of ingredients. The second
field (by default literally the second field, but can also be specified using
C<--weight-field>) is assumed to contain the weight of ingredients. A percent
form is recognized and will be converted to its decimal form (e.g. "60%" or
"60.0 %" will become 0.6).

Example, mixing this CSV:

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

header row (value will be something like "col0,col1,..."). Under
C<--no-output-header>, header row will I<not> be printed even if input CSV has
header row. So this option can be used to unconditionally add or remove header
row.

=item * B<output_percent> => I<bool>

If enabled, will convert output weights to percent with the percent sign (e.g. 0.6 to "60%").

=item * B<output_percent_nosign> => I<bool>

If enabled, will convert output weights to percent without the percent sign (e.g. 0.6 to "60").

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

Specify field quote character in output CSV, will be passed to Text::CSV_XS.

 view all matches for this distribution


App-CalcAccumulatedDiscounts

 view release on metacpan or  search on metacpan

lib/App/CalcAccumulatedDiscounts.pm  view on Meta::CPAN

        years => {
            schema => ['array*', of=>'int*'],
            default => [5,10,15,20,25,30,35,40,45,50],
        },
        discounts => {
            schema => ['array*', of=>'float*'], # XXX percent
            default => [0.25, 0.5, 0.75, 1,
                        1.25, 1.5, 1.75, 2,
                        2.25, 2.5, 2.75, 3,
                        3.25, 3.5, 3.75, 4,
                        4.5, 5],

 view all matches for this distribution


App-CalcAccumulatedInflation

 view release on metacpan or  search on metacpan

lib/App/CalcAccumulatedInflation.pm  view on Meta::CPAN

        years => {
            schema => ['int*', min=>0],
            default => 10,
        },
        rates => {
            summary => 'Different rates for each year, in percent',
            schema  => ['array*', of=>'float*', min_len=>1, 'x.perl.coerce_rules'=>['From_str::comma_sep']],
        },
        yearly_rate => {
            summary => 'A single rate for every year, in percent',
            schema => 'float*',
            cmdline_aliases => {y=>{}},
        },
        base_index => {
            schema => 'float*',

lib/App/CalcAccumulatedInflation.pm  view on Meta::CPAN


=item * B<base_year> => I<float> (default: 0)

=item * B<rates> => I<array[float]>

Different rates for each year, in percent.

=item * B<yearly_rate> => I<float>

A single rate for every year, in percent.

=item * B<years> => I<int> (default: 10)


=back

 view all matches for this distribution


App-Caoliu

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN


"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.

 view all matches for this distribution


App-Chart

 view release on metacpan or  search on metacpan

lib/App/Chart/Series/Derived/ADX.pm  view on Meta::CPAN

sub shortname { __('ADX') }
sub manual    { __p('manual-node','Average Directional Index') }

use constant
  { type       => 'indicator',
    units      => 'percentage',
    minimum    => 0,
    maximum    => 100,
  };
sub parameter_info {
  return [ { name     => __('Days'),

 view all matches for this distribution


App-Cheats

 view release on metacpan or  search on metacpan

cheats.txt  view on Meta::CPAN

# Usage
benchmark([get_head_checkbox, get_head_checkbox2]);
benchmark([get_head_checkbox, get_head_checkbox2],10000);

# Function for benchmarking different code snippets (timing,testing,profiling)
# Includes percentages and sorted.
// function benchmark() {
//   // Get inputs
//   let   code_refs  = [...arguments];
//   let   iterations = 1;
//   const last_index = code_refs.length - 1;

cheats.txt  view on Meta::CPAN

//   stats.sort((a,b) => (Number(a.time) >= Number(b.time)) ? 1 : -1);
//
//   // Baseline to compare with
//   const longest_time = stats[stats.length-1]["time"];
//
//   // Add percentage to each test set
//   for(const set of stats){
//     const time    = set.time;
//     const percent = ((longest_time-time)/time*100).toFixed(0);
//     set.percent = percent;
//   }
//
//   // Print statistics
//   console.table(stats);
// }

cheats.txt  view on Meta::CPAN

U

# Redo last command (Vim)
<Control> + r

# Diplay file name, number of lines (and percent) (Vim)
<Control> + g

# Type a control character in Vim
Control-V <RET>

 view all matches for this distribution


App-ChemistryUtils

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Rinci" : "v1.1.102"
         }
      },
      "runtime" : {
         "requires" : {
            "Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
            "Data::Sah::Compiler::perl::TH::array" : "0.914",
            "Data::Sah::Compiler::perl::TH::bool" : "0.914",
            "Data::Sah::Compiler::perl::TH::float" : "0.914",
            "Data::Sah::Compiler::perl::TH::int" : "0.914",
            "Data::Sah::Compiler::perl::TH::str" : "0.914",

 view all matches for this distribution


App-Cleo-Patra

 view release on metacpan or  search on metacpan

bin/patra  view on Meta::CPAN


Commands starting with C<...> (three periods) will be executed without waiting for a keypress. This is useful if you want to show a series of commands but don't need to stop and explain each one as you go.

=item C<%%%>

Within a command, C<%%%> (three percent signs) will cause playback to pause and
wait for a keypress before displaying the rest of the command.  This is useful
if you want to stop in the middle of a command to give some explanation.

=item C<$ >

 view all matches for this distribution


App-Cleo

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

    will be executed immediately. This is useful for running setup commands at the
    beginning of your demonstration.

- `%%%`

    Within a command, `%%%` (three percent signs) will cause `cleo` to pause and
    wait for a keypress before displaying the rest of the command.  This is useful
    if you want to stop in the middle of a command to give some explanation.

Otherwise, `cleo` displays and executes the commands verbatim.  Note that
some interactive commands like `vim` are picky about STDOUT and STDIN.  To

 view all matches for this distribution


App-Codeowners

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


      * %n - newline

      * %t - tab

      * %% - percent sign

    The syntax also allows padding and some filters. Examples:

        git-codeowners show -f ' * %-50F %O'                # default for "show"
        git-codeowners show -f '%{quote}F,%{quote}O'        # ad hoc CSV

 view all matches for this distribution


App-CompleteCLIs

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Complete::Sah" : "0.012",
            "Complete::TZ" : "0.080",
            "Complete::Unix" : "0.07",
            "Complete::Util" : "0.618",
            "Complete::Vivaldi" : "0",
            "Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
            "Data::Sah::Coerce::perl::To_str::From_str::normalize_perl_modprefix" : "0",
            "Data::Sah::Compiler::perl::TH::any" : "0.914",
            "Data::Sah::Compiler::perl::TH::array" : "0.914",
            "Data::Sah::Compiler::perl::TH::bool" : "0.914",
            "Data::Sah::Compiler::perl::TH::code" : "0.914",

 view all matches for this distribution


App-Dapper

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

not need to know Perl in order to use them.

Layout templates include a series of directives. Directives can be
used to print the contents of a variable, or perform more sophisticated
computation such as if/then/else, foreach, or case statements. Directives
are surrounded by matched pairs of hard brackets and percent signs. Here is
an example of printing a variable called `site.name`:

```
[% site.name %]
```

 view all matches for this distribution


App-Dazz

 view release on metacpan or  search on metacpan

lib/App/Dazz/Common.pm  view on Meta::CPAN

        }
    }
    return @solns;
}

sub histogram_percentile {
    my $hist_of  = shift;
    my $fraction = shift;

    my @keys = sort { $a <=> $b } keys %{$hist_of};
    if ( scalar @keys == 0 ) {

 view all matches for this distribution


App-Device-Chip-sensor

 view release on metacpan or  search on metacpan

bin/device-chip-sensor-exporter  view on Meta::CPAN


         # Convert some common characters that Prometheus will get upset by
         if( defined $units ) {
            $units =~ s{/}{_per_};

            $units =~ s/%/percentage/g;
            $units =~ s/°/degrees/g;
            $units =~ s/µ/micro/g;

            $units =~ s/m²/square_metre/g;
            $units =~ s/m³/cubic_metre/g;

 view all matches for this distribution


App-DocKnot

 view release on metacpan or  search on metacpan

t/lib/Test/RRA/Config.pm  view on Meta::CPAN

=over 4

=item $COVERAGE_LEVEL

The coverage level achieved by the test suite for Perl test coverage testing
using Test::Strict, as a percentage.  The test will fail if test coverage less
than this percentage is achieved.  If not given, defaults to 100.

=item @COVERAGE_SKIP_TESTS

Directories under F<t> whose tests should be skipped when doing coverage
testing.  This can be tests that won't contribute to coverage or tests that

 view all matches for this distribution


App-Dochazka-WWW

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

- config: add new file WWW_Message_en.conf
- js: fix "New employee" functionality
- js: fix "Search employee" functionality

0.132 2016-09-15 13:41 CEST
- js: percent-encode employee search keys
- bin/dochazka-www: uncomment --sitedir /etc/dochazka-www
- build/ops: new file WWW_SiteConfig.pm.example

0.133 2016-09-16 00:24 CEST
- config: drop derived distro site config file

 view all matches for this distribution


App-DrugUtils

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Rinci" : "v1.1.102"
         }
      },
      "runtime" : {
         "requires" : {
            "Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
            "Data::Sah::Compiler::perl::TH::array" : "0.914",
            "Data::Sah::Compiler::perl::TH::float" : "0.914",
            "Data::Sah::Compiler::perl::TH::int" : "0.914",
            "Data::Sah::Compiler::perl::TH::str" : "0.914",
            "Perinci::CmdLine::Any" : "0.154",

 view all matches for this distribution


App-DuckPAN

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

 view all matches for this distribution


App-EPAN

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

 view all matches for this distribution


App-Easer

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

 view all matches for this distribution


App-Egaz

 view release on metacpan or  search on metacpan

lib/App/Egaz/Command/lav2psl.pm  view on Meta::CPAN

            for my $align_piece (@align_pieces) {

                unless ( $align_piece =~ /(\d+) (\d+) (\d+) (\d+) (\d+)/g ) {
                    Carp::croak "l-line error\n";
                }
                my ( $t_begin, $q_begin, $t_end, $q_end, $percent_id ) = ( $1, $2, $3, $4, $5 );
                $t_begin--;
                $q_begin--;
                $percent_id = 0.01 * $percent_id;

                my $bases       = $q_end - $q_begin;
                my $match_piece = App::Egaz::Common::round( $percent_id * $bases );
                $match += $match_piece;
                $mismatch += $bases - $match_piece;

                if ( $t_former_end and $t_begin != $t_former_end ) {
                    $t_num_ins++;

 view all matches for this distribution


App-ElasticSearch-Utilities

 view release on metacpan or  search on metacpan

lib/App/ElasticSearch/Utilities/Aggregations.pm  view on Meta::CPAN



$Aggregations{extended_stats} = { type => 'metric' };


$Aggregations{percentiles} = {
    params => sub {
        my @pcts = $_[0] ? split /,/, $_[0] : qw(25 50 75 90);
        return { percents => \@pcts };
    },
};


$Aggregations{geo_centroid} = { type => 'metric' };

lib/App/ElasticSearch/Utilities/Aggregations.pm  view on Meta::CPAN

                "field": "field_name"
            }
        }
    }

=item B<percentiles>

Computes percentiles for the enclosing bucket. The positional parameter is
interpretted at the percents computed.  If ommitted, the percentiles computed
will be: 25, 50, 75, 90.

    percentiles:field_name:75,95,99

Results in

    {
        "percentiles.field_names": {
            "percentiles": {
                "field": "field_name",
                "percents": [ 75, 95, 99 ]
            }
        }
    }

=item B<geo_centroid>

 view all matches for this distribution


App-EventStreamr

 view release on metacpan or  search on metacpan

share/status/app/lib/bootstrap/jquery.js  view on Meta::CPAN

				ret = jQuery.style( elem, name );
			}

			// A tribute to the "awesome hack by Dean Edwards"
			// Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
			// Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
			// this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
			if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {

				// Remember the original values
				width = style.width;

share/status/app/lib/bootstrap/jquery.js  view on Meta::CPAN

			}
		};
	}

	// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
	// getComputedStyle returns percent when specified for top/left/bottom/right
	// rather than make the css module depend on the offset module, we just check for it here
	if ( !jQuery.support.pixelPosition && jQuery.fn.position ) {
		jQuery.each( [ "top", "left" ], function( i, prop ) {
			jQuery.cssHooks[ prop ] = {
				get: function( elem, computed ) {
					if ( computed ) {
						computed = curCSS( elem, prop );
						// if curCSS returns percentage, fallback to offset
						return rnumnonpx.test( computed ) ?
							jQuery( elem ).position()[ prop ] + "px" :
							computed;
					}
				}

share/status/app/lib/bootstrap/jquery.js  view on Meta::CPAN

			}
			var currentTime = fxNow || createFxNow(),
				remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
				// archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
				temp = remaining / animation.duration || 0,
				percent = 1 - temp,
				index = 0,
				length = animation.tweens.length;

			for ( ; index < length ; index++ ) {
				animation.tweens[ index ].run( percent );
			}

			deferred.notifyWith( elem, [ animation, percent, remaining ]);

			if ( percent < 1 && length ) {
				return remaining;
			} else {
				deferred.resolveWith( elem, [ animation ] );
				return false;
			}

share/status/app/lib/bootstrap/jquery.js  view on Meta::CPAN


		return hooks && hooks.get ?
			hooks.get( this ) :
			Tween.propHooks._default.get( this );
	},
	run: function( percent ) {
		var eased,
			hooks = Tween.propHooks[ this.prop ];

		if ( this.options.duration ) {
			this.pos = eased = jQuery.easing[ this.easing ](
				percent, this.options.duration * percent, 0, 1, this.options.duration
			);
		} else {
			this.pos = eased = percent;
		}
		this.now = ( this.end - this.start ) * eased + this.start;

		if ( this.options.step ) {
			this.options.step.call( this.elem, this.now, this );

 view all matches for this distribution


App-FfmpegUtils

 view release on metacpan or  search on metacpan

lib/App/FfmpegUtils.pm  view on Meta::CPAN

    },
);

our %argspecsopt_duration = (
    start => {
        schema => ['any*', of=>['duration*', 'percent_str*']],
        cmdline_aliases => {s=>{}},
        },
    end => {
        schema => ['any*', of=>['duration*', 'percent_str*']],
        cmdline_aliases => {e=>{}},
    },
    duration => {
        schema => ['any*', of=>['duration*', 'percent_str*']],
        cmdline_aliases => {d=>{}},
    },
);

my @presets = qw/ultrafast superfast veryfast faster fast medium slow slower veryslow/;

lib/App/FfmpegUtils.pm  view on Meta::CPAN

MARKDOWN
    args => {
        %argspec0_files,
        # XXX start => {},
        every => {
            schema => ['any*', of=>['duration*', 'percent_str*']],
        },
        parts => {
            schema => 'posint*',
        },
        %argspecopt_copy,

lib/App/FfmpegUtils.pm  view on Meta::CPAN

            src => '[[prog]] foo.mp4 --parts 4',
            test => 0,
            'x.doc.show_result' => 0,
        },
        {
            summary => 'Another way to split into equiduration parts using percentage in --every',
            src_plang => 'bash',
            src => '[[prog]] foo.mp4 --every 25%',
            test => 0,
            'x.doc.show_result' => 0,
        },

lib/App/FfmpegUtils.pm  view on Meta::CPAN

        if (defined $parts) {
            return [400, "Please specify a positive number in --parts"] unless $parts >= 1;
            $part_dur = $total_dur / $parts;
        } elsif (defined $every) {
            if ($every =~ s/%\z//) {
                $every > 0 && $every <= 100 or return [400, "For percentage in --every, please specify a number between 0 and 100"];
                $part_dur = $total_dur * ($every/100);
            } else {
                $every > 0 or return [400, "Please specify a positive number in --every"];
                $part_dur = $every;
            }

lib/App/FfmpegUtils.pm  view on Meta::CPAN

            argv => ['100s.mp4', '-s', '40s'],
            test => 0,
            'x.doc.show_result' => 0,
        },
        {
            summary => 'Specify duration only (using percentage) of two files, the results are 100s.cut_0_to_30.mp4 & 50s.cut_0_to_15.mp4',
            argv => ['100s.mp4', '50s.mp4', '-d', '30%'],
            test => 0,
            'x.doc.show_result' => 0,
        },
        {

lib/App/FfmpegUtils.pm  view on Meta::CPAN


=item * B<copy> => I<bool>

Whether to use the "copy" codec (fast but produces inaccurate timings).

=item * B<duration> => I<duration|percent_str>

(No description)

=item * B<end> => I<duration|percent_str>

(No description)

=item * B<files>* => I<array[filename]>

(No description)

=item * B<start> => I<duration|percent_str>

(No description)


=back

lib/App/FfmpegUtils.pm  view on Meta::CPAN


=item * Specify start only, the result is 100s.cut_40_to_100.mp4:

 cut_video_by_duration(files => ["100s.mp4"], start => "40s");

=item * Specify duration only (using percentage) of two files, the results are 100s.cut_0_to_30.mp4 & 50s.cut_0_to_15.mp4:

 cut_video_by_duration(files => ["100s.mp4", "50s.mp4"], duration => "30%");

=item * Specify end only (using h:m:s notation), the result is 100s.cut_0_to_63.mp4:

lib/App/FfmpegUtils.pm  view on Meta::CPAN


=item * B<copy> => I<bool>

Whether to use the "copy" codec (fast but produces inaccurate timings).

=item * B<duration> => I<duration|percent_str>

(No description)

=item * B<end> => I<duration|percent_str>

(No description)

=item * B<files>* => I<array[filename]>

lib/App/FfmpegUtils.pm  view on Meta::CPAN


=item * B<overwrite> => I<bool>

(No description)

=item * B<start> => I<duration|percent_str>

(No description)


=back

lib/App/FfmpegUtils.pm  view on Meta::CPAN


=item * B<copy> => I<bool>

Whether to use the "copy" codec (fast but produces inaccurate timings).

=item * B<every> => I<duration|percent_str>

(No description)

=item * B<files>* => I<array[filename]>

 view all matches for this distribution


( run in 0.681 second using v1.01-cache-2.11-cpan-05162d3a2b1 )