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


Alvis-QueryFilter

 view release on metacpan or  search on metacpan

lib/Alvis/QueryFilter.pm  view on Meta::CPAN

    $self->{queryForm} =~ s/\&/\&/g;
    $self->{queryForm} =~ s/</\&lt;/g;
    $self->{queryForm} =~ s/>/\&gt;/g;
    $self->{finalForm} = "";

    # decode percentage notation
    my $query_copy=$query;
    $query_copy=uri_unescape($query_copy);

    # parse the CQL
    my $parse_tree;

 view all matches for this distribution


Amazon-DynamoDB

 view release on metacpan or  search on metacpan

t/presidents.json  view on Meta::CPAN

[
   {
      "age_at_inauguration" : 57,
      "year_first_inaugurated" : 1789,
      "percentage_of_electorial_vote" : "100.0",
      "number_of_electoral_votes" : "69",
      "name" : "George Washington",
      "college" : "None",
      "occupation" : "Planter",
      "state_elected_from" : "Virginia",

t/presidents.json  view on Meta::CPAN

      "total_electorial_votes" : 69
   },
   {
      "age_at_inauguration" : 61,
      "year_first_inaugurated" : 1797,
      "percentage_of_electorial_vote" : "95.0",
      "number_of_electoral_votes" : "132",
      "name" : "John Adams",
      "college" : "Harvard",
      "occupation" : "Lawyer",
      "state_elected_from" : "Massachusetts",

t/presidents.json  view on Meta::CPAN

      "total_electorial_votes" : 139
   },
   {
      "age_at_inauguration" : 57,
      "year_first_inaugurated" : 1801,
      "percentage_of_electorial_vote" : "53.3",
      "number_of_electoral_votes" : "73",
      "name" : "Thomas Jefferson",
      "college" : "William and Mary",
      "occupation" : "Lawyer",
      "state_elected_from" : "Virginia",

t/presidents.json  view on Meta::CPAN

      "total_electorial_votes" : 137
   },
   {
      "age_at_inauguration" : 57,
      "year_first_inaugurated" : 1809,
      "percentage_of_electorial_vote" : "69.3",
      "number_of_electoral_votes" : "122",
      "name" : "James Madison",
      "college" : "Princeton",
      "occupation" : "Lawyer",
      "state_elected_from" : "Virginia",

t/presidents.json  view on Meta::CPAN

      "total_electorial_votes" : 176
   },
   {
      "age_at_inauguration" : 58,
      "year_first_inaugurated" : 1817,
      "percentage_of_electorial_vote" : "82.8",
      "number_of_electoral_votes" : "183",
      "name" : "James Monroe",
      "college" : "William and Mary",
      "occupation" : "Lawyer",
      "state_elected_from" : "Virginia",

t/presidents.json  view on Meta::CPAN

      "total_electorial_votes" : 221
   },
   {
      "age_at_inauguration" : 57,
      "year_first_inaugurated" : 1825,
      "percentage_of_electorial_vote" : "32.2",
      "number_of_electoral_votes" : "84",
      "name" : "John Quincy Adams",
      "college" : "Harvard",
      "occupation" : "Lawyer",
      "state_elected_from" : "Massachusetts",

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 61,
      "total_national_votes" : 1148018,
      "year_first_inaugurated" : 1829,
      "percentage_of_electorial_vote" : "68.2",
      "number_of_electoral_votes" : "178",
      "name" : "Andrew Jackson",
      "college" : "None",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "56.0",
      "state_elected_from" : "Tennessee",
      "years_in_office" : 8,
      "number_of_popular_votes" : 642553,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 261
   },
   {
      "age_at_inauguration" : 54,
      "total_national_votes" : 1503534,
      "year_first_inaugurated" : 1837,
      "percentage_of_electorial_vote" : "57.8",
      "number_of_electoral_votes" : "170",
      "name" : "Martin Van Buren",
      "college" : "None",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "50.8",
      "state_elected_from" : "New York",
      "years_in_office" : 4,
      "number_of_popular_votes" : 764176,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 294
   },
   {
      "age_at_inauguration" : 68,
      "total_national_votes" : 2411808,
      "year_first_inaugurated" : 1841,
      "percentage_of_electorial_vote" : "79.6",
      "number_of_electoral_votes" : "234",
      "name" : "William Henry Harrison",
      "college" : "Hampden-Sydney",
      "occupation" : "Soldier",
      "percentage_of_popular_vote" : "52.9",
      "state_elected_from" : "Ohio",
      "years_in_office" : 0,
      "number_of_popular_votes" : 1275390,
      "political_parts" : "Whig",
      "total_electorial_votes" : 294

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 49,
      "total_national_votes" : 2703659,
      "year_first_inaugurated" : 1845,
      "percentage_of_electorial_vote" : "61.8",
      "number_of_electoral_votes" : "170",
      "name" : "James K. Polk",
      "college" : "U. of North Carolina",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "49.5",
      "state_elected_from" : "Tennessee",
      "years_in_office" : 4,
      "number_of_popular_votes" : 1339494,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 275
   },
   {
      "age_at_inauguration" : 64,
      "total_national_votes" : 2879184,
      "year_first_inaugurated" : 1849,
      "percentage_of_electorial_vote" : "56.2",
      "number_of_electoral_votes" : "163",
      "name" : "Zachary Taylor",
      "college" : "None",
      "occupation" : "Soldier",
      "percentage_of_popular_vote" : "47.3",
      "state_elected_from" : "Louisiana",
      "years_in_office" : 1,
      "number_of_popular_votes" : 1361393,
      "political_parts" : "Whig",
      "total_electorial_votes" : 290

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 48,
      "total_national_votes" : 3161830,
      "year_first_inaugurated" : 1853,
      "percentage_of_electorial_vote" : "85.8",
      "number_of_electoral_votes" : "254",
      "name" : "Franklin Pierce",
      "college" : "Bowdoin",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "50.8",
      "state_elected_from" : "New Hampshire",
      "years_in_office" : 4,
      "number_of_popular_votes" : 1607510,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 296
   },
   {
      "age_at_inauguration" : 65,
      "total_national_votes" : 4054647,
      "year_first_inaugurated" : 1857,
      "percentage_of_electorial_vote" : "58.8",
      "number_of_electoral_votes" : "174",
      "name" : "James Buchanan",
      "college" : "Dickinson",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "45.3",
      "state_elected_from" : "Pennsylvania",
      "years_in_office" : 4,
      "number_of_popular_votes" : 1836072,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 296
   },
   {
      "age_at_inauguration" : 52,
      "total_national_votes" : 4685561,
      "year_first_inaugurated" : 1861,
      "percentage_of_electorial_vote" : "59.4",
      "number_of_electoral_votes" : "180",
      "name" : "Abraham Lincoln",
      "college" : "None",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "39.8",
      "state_elected_from" : "Illinois",
      "years_in_office" : 4,
      "number_of_popular_votes" : 1865908,
      "political_parts" : "Republican",
      "total_electorial_votes" : 303

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 46,
      "total_national_votes" : 5722440,
      "year_first_inaugurated" : 1869,
      "percentage_of_electorial_vote" : "72.8",
      "number_of_electoral_votes" : "214",
      "name" : "Ulysses S. Grant",
      "college" : "US Military Academy",
      "occupation" : "Soldier",
      "percentage_of_popular_vote" : "52.7",
      "state_elected_from" : "Illinois",
      "years_in_office" : 8,
      "number_of_popular_votes" : 3013650,
      "political_parts" : "Republican",
      "total_electorial_votes" : 294
   },
   {
      "age_at_inauguration" : 54,
      "total_national_votes" : 8413101,
      "year_first_inaugurated" : 1877,
      "percentage_of_electorial_vote" : "50.1",
      "number_of_electoral_votes" : "185",
      "name" : "Rutherford B. Hayes",
      "college" : "Kenyon",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "48.0",
      "state_elected_from" : "Ohio",
      "years_in_office" : 4,
      "number_of_popular_votes" : 4034311,
      "political_parts" : "Republican",
      "total_electorial_votes" : 369
   },
   {
      "age_at_inauguration" : 49,
      "total_national_votes" : 9210420,
      "year_first_inaugurated" : 1881,
      "percentage_of_electorial_vote" : "58.0",
      "number_of_electoral_votes" : "214",
      "name" : "James A. Garfield",
      "college" : "Williams",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "48.3",
      "state_elected_from" : "Ohio",
      "years_in_office" : 0,
      "number_of_popular_votes" : 4446158,
      "political_parts" : "Republican",
      "total_electorial_votes" : 369

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 47,
      "total_national_votes" : 10049754,
      "year_first_inaugurated" : 1885,
      "percentage_of_electorial_vote" : "54.6",
      "number_of_electoral_votes" : "219",
      "name" : "Grover Cleveland",
      "college" : "None",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "48.5",
      "state_elected_from" : "New York",
      "years_in_office" : 4,
      "number_of_popular_votes" : 4874621,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 401
   },
   {
      "age_at_inauguration" : 55,
      "total_national_votes" : 11383320,
      "year_first_inaugurated" : 1889,
      "percentage_of_electorial_vote" : "58.1",
      "number_of_electoral_votes" : "233",
      "name" : "Benjamin Harrison",
      "college" : "Miami",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "47.8",
      "state_elected_from" : "Indiana",
      "years_in_office" : 4,
      "number_of_popular_votes" : 5443892,
      "political_parts" : "Republican",
      "total_electorial_votes" : 401
   },
   {
      "age_at_inauguration" : 55,
      "total_national_votes" : 12056097,
      "year_first_inaugurated" : 1893,
      "percentage_of_electorial_vote" : "62.4",
      "number_of_electoral_votes" : "277",
      "name" : "Grover Cleveland",
      "college" : "None",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "46.1",
      "state_elected_from" : "New York",
      "years_in_office" : 4,
      "number_of_popular_votes" : 5551883,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 444
   },
   {
      "age_at_inauguration" : 54,
      "total_national_votes" : 13935738,
      "year_first_inaugurated" : 1897,
      "percentage_of_electorial_vote" : "60.6",
      "number_of_electoral_votes" : "271",
      "name" : "William McKinley",
      "college" : "Allegheny College",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "51.0",
      "state_elected_from" : "Ohio",
      "years_in_office" : 4,
      "number_of_popular_votes" : 7108480,
      "political_parts" : "Republican",
      "total_electorial_votes" : 447

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 51,
      "total_national_votes" : 14882734,
      "year_first_inaugurated" : 1909,
      "percentage_of_electorial_vote" : "66.5",
      "number_of_electoral_votes" : "321",
      "name" : "William Howard Taft",
      "college" : "Yale",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "51.6",
      "state_elected_from" : "Ohio",
      "years_in_office" : 4,
      "number_of_popular_votes" : 7676258,
      "political_parts" : "Republican",
      "total_electorial_votes" : 483
   },
   {
      "age_at_inauguration" : 56,
      "total_national_votes" : 15040963,
      "year_first_inaugurated" : 1913,
      "percentage_of_electorial_vote" : "81.9",
      "number_of_electoral_votes" : "435",
      "name" : "Woodrow Wilson",
      "college" : "Princeton",
      "occupation" : "Educator",
      "percentage_of_popular_vote" : "41.8",
      "state_elected_from" : "New Jersey",
      "years_in_office" : 8,
      "number_of_popular_votes" : 6293152,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 531
   },
   {
      "age_at_inauguration" : 55,
      "total_national_votes" : 26753786,
      "year_first_inaugurated" : 1921,
      "percentage_of_electorial_vote" : "76.1",
      "number_of_electoral_votes" : "404",
      "name" : "Warren G. Harding",
      "college" : "None",
      "occupation" : "Editor",
      "percentage_of_popular_vote" : "60.3",
      "state_elected_from" : "Ohio",
      "years_in_office" : 2,
      "number_of_popular_votes" : 16133314,
      "political_parts" : "Republican",
      "total_electorial_votes" : 531

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 54,
      "total_national_votes" : 36790364,
      "year_first_inaugurated" : 1929,
      "percentage_of_electorial_vote" : "83.6",
      "number_of_electoral_votes" : "444",
      "name" : "Herbert Hoover",
      "college" : "Stanford",
      "occupation" : "Engineer",
      "percentage_of_popular_vote" : "58.2",
      "state_elected_from" : "California",
      "years_in_office" : 4,
      "number_of_popular_votes" : 21411991,
      "political_parts" : "Republican",
      "total_electorial_votes" : 531
   },
   {
      "age_at_inauguration" : 51,
      "total_national_votes" : 39749382,
      "year_first_inaugurated" : 1933,
      "percentage_of_electorial_vote" : "88.9",
      "number_of_electoral_votes" : "472",
      "name" : "Franklin Roosevelt",
      "college" : "Harvard",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "57.4",
      "state_elected_from" : "New York",
      "years_in_office" : 12,
      "number_of_popular_votes" : 22825016,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 531

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 62,
      "total_national_votes" : 61551118,
      "year_first_inaugurated" : 1953,
      "percentage_of_electorial_vote" : "83.2",
      "number_of_electoral_votes" : "442",
      "name" : "Dwight D. Eisenhower",
      "college" : "US Military Academy",
      "occupation" : "Soldier",
      "percentage_of_popular_vote" : "55.1",
      "state_elected_from" : "New York",
      "years_in_office" : 8,
      "number_of_popular_votes" : 33936137,
      "political_parts" : "Republican",
      "total_electorial_votes" : 531
   },
   {
      "age_at_inauguration" : 43,
      "total_national_votes" : 68828960,
      "year_first_inaugurated" : 1961,
      "percentage_of_electorial_vote" : "56.4",
      "number_of_electoral_votes" : "303",
      "name" : "John F. Kennedy",
      "college" : "Harvard",
      "occupation" : "Author",
      "percentage_of_popular_vote" : "49.7",
      "state_elected_from" : "Massachusetts",
      "years_in_office" : 3,
      "number_of_popular_votes" : 34221344,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 537

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 56,
      "total_national_votes" : 73203370,
      "year_first_inaugurated" : 1969,
      "percentage_of_electorial_vote" : "55.9",
      "number_of_electoral_votes" : "301",
      "name" : "Richard M. Nixon",
      "college" : "Whittier",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "43.4",
      "state_elected_from" : "New York",
      "years_in_office" : 5,
      "number_of_popular_votes" : 31785148,
      "political_parts" : "Republican",
      "total_electorial_votes" : 538

t/presidents.json  view on Meta::CPAN

   },
   {
      "age_at_inauguration" : 52,
      "total_national_votes" : 81555889,
      "year_first_inaugurated" : 1977,
      "percentage_of_electorial_vote" : "55.2",
      "number_of_electoral_votes" : "297",
      "name" : "Jimmy Carter",
      "college" : "US Naval Academy",
      "occupation" : "Businessman",
      "percentage_of_popular_vote" : "50.1",
      "state_elected_from" : "Georgia",
      "years_in_office" : 4,
      "number_of_popular_votes" : 40830763,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 538
   },
   {
      "age_at_inauguration" : 69,
      "total_national_votes" : 86515221,
      "year_first_inaugurated" : 1981,
      "percentage_of_electorial_vote" : "90.9",
      "number_of_electoral_votes" : "489",
      "name" : "Ronald Reagan",
      "college" : "Eureka College",
      "occupation" : "Actor",
      "percentage_of_popular_vote" : "50.7",
      "state_elected_from" : "California",
      "years_in_office" : 8,
      "number_of_popular_votes" : 43904153,
      "political_parts" : "Republican",
      "total_electorial_votes" : 538
   },
   {
      "age_at_inauguration" : 64,
      "total_national_votes" : 91584820,
      "year_first_inaugurated" : 1989,
      "percentage_of_electorial_vote" : "79.2",
      "number_of_electoral_votes" : "426",
      "name" : "George Bush",
      "college" : "Yale",
      "occupation" : "Businessman",
      "percentage_of_popular_vote" : "53.4",
      "state_elected_from" : "Texas",
      "years_in_office" : 4,
      "number_of_popular_votes" : 48886097,
      "political_parts" : "Republican",
      "total_electorial_votes" : 538
   },
   {
      "age_at_inauguration" : 46,
      "total_national_votes" : 104425014,
      "year_first_inaugurated" : 1993,
      "percentage_of_electorial_vote" : "68.8",
      "number_of_electoral_votes" : "370",
      "name" : "Bill Clinton",
      "college" : "Georgetown",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "43.0",
      "state_elected_from" : "Arkansas",
      "years_in_office" : 8,
      "number_of_popular_votes" : 44909326,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 538
   },
   {
      "age_at_inauguration" : 54,
      "total_national_votes" : 105417258,
      "year_first_inaugurated" : 2001,
      "percentage_of_electorial_vote" : "50.4",
      "number_of_electoral_votes" : "271",
      "name" : "George W. Bush",
      "college" : "Yale",
      "occupation" : "Businessman",
      "percentage_of_popular_vote" : "47.9",
      "state_elected_from" : "Texas",
      "years_in_office" : 8,
      "number_of_popular_votes" : 50460110,
      "political_parts" : "Republican",
      "total_electorial_votes" : 538
   },
   {
      "age_at_inauguration" : 47,
      "total_national_votes" : 129438754,
      "year_first_inaugurated" : 2009,
      "percentage_of_electorial_vote" : "67.8",
      "number_of_electoral_votes" : "365",
      "name" : "Barack Obama",
      "college" : "Columbia University",
      "occupation" : "Lawyer",
      "percentage_of_popular_vote" : "53.7",
      "state_elected_from" : "Illinois",
      "number_of_popular_votes" : 69492376,
      "political_parts" : "Democrat",
      "total_electorial_votes" : 538
   }

 view all matches for this distribution


Amethyst

 view release on metacpan or  search on metacpan

Amethyst/Brain/Infobot/Module/Math.pm  view on Meta::CPAN

    $content =~ s/\bdiv(ided by)? /\/ /g;
    $content =~ s/\bover /\/ /g;
    $content =~ s/\bsquared/\*\*2 /g;
    $content =~ s/\bcubed/\*\*3 /g;
    # $content =~ s/\bto\s+(the\s+)?(\d+)(r?st|nd|rd|th)?( power)?/\*\*$1 /ig;
    $content =~ s/\bpercent of/*0.01*/ig;
    $content =~ s/\bpercent/*0.01/ig;
    $content =~ s/\% of\b/*0.01*/g;
    $content =~ s/\%/*0.01/g;
    $content =~ s/\bsquare root of (\d+)/sqrt($1)/ige;
    $content =~ s/\bsqrt\s*(\d+)/sqrt($1)/ige;
    # $content =~ s/\bcubed? root of (\d+)/$1 **(1.0\/3.0) /ig;

 view all matches for this distribution


Amon2

 view release on metacpan or  search on metacpan

lib/Amon2/Setup/Asset/Bootstrap.pm  view on Meta::CPAN

  "bootstrap/carousel.js" => "/*!\n  * Bootstrap carousel.js v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bo...
  "bootstrap/carousel.js.map" => "{\"version\":3,\"file\":\"carousel.js\",\"sources\":[\"../src/carousel.js\"],\"sourcesContent\":[\"/**\\n * --------------------------------------------------------------------------\\n * Bootstrap (v4.4.1): carousel...
  "bootstrap/collapse.js" => "/*!\n  * Bootstrap collapse.js v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bo...
  "bootstrap/collapse.js.map" => "{\"version\":3,\"file\":\"collapse.js\",\"sources\":[\"../src/collapse.js\"],\"sourcesContent\":[\"/**\\n * --------------------------------------------------------------------------\\n * Bootstrap (v4.4.1): collapse...
  "bootstrap/css/bootstrap-grid.css" => "/*!\n * Bootstrap Grid v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/mast...
  "bootstrap/css/bootstrap-grid.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap-grid.scss\",\"bootstrap-grid.css\",\"../../scss/_grid.scss\",\"../../scss/mixins/_grid.scss\",\"../../scss/mixins/_breakpoints.scss\",\"../../scss/_variab...
  "bootstrap/css/bootstrap-grid.min.css" => "/*!\n * Bootstrap Grid v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/...
  "bootstrap/css/bootstrap-grid.min.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap-grid.scss\",\"dist/css/bootstrap-grid.css\",\"../../scss/_grid.scss\",\"../../scss/mixins/_grid.scss\",\"../../scss/mixins/_breakpoints.scss\",\"../.....
  "bootstrap/css/bootstrap-reboot.css" => "/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/...
  "bootstrap/css/bootstrap-reboot.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap-reboot.scss\",\"bootstrap-reboot.css\",\"../../scss/_reboot.scss\",\"../../scss/_variables.scss\",\"../../scss/vendor/_rfs.scss\",\"../../scss/mixins/_h...
  "bootstrap/css/bootstrap-reboot.min.css" => "/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/b...
  "bootstrap/css/bootstrap-reboot.min.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap-reboot.scss\",\"../../scss/_reboot.scss\",\"dist/css/bootstrap-reboot.css\",\"../../scss/vendor/_rfs.scss\",\"bootstrap-reboot.css\",\"../../scss/mi...
  "bootstrap/css/bootstrap.css" => "/*!\n * Bootstrap v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE...
  "bootstrap/css/bootstrap.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap.scss\",\"bootstrap.css\",\"../../scss/_root.scss\",\"../../scss/_reboot.scss\",\"../../scss/_variables.scss\",\"../../scss/vendor/_rfs.scss\",\"../../scss/mixi...
  "bootstrap/css/bootstrap.min.css" => "/*!\n * Bootstrap v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LIC...
  "bootstrap/css/bootstrap.min.css.map" => "{\"version\":3,\"sources\":[\"../../scss/bootstrap.scss\",\"../../scss/_root.scss\",\"../../scss/_reboot.scss\",\"dist/css/bootstrap.css\",\"../../scss/vendor/_rfs.scss\",\"bootstrap.css\",\"../../scss/mixi...
  "bootstrap/dropdown.js" => "/*!\n  * Bootstrap dropdown.js v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bo...
  "bootstrap/dropdown.js.map" => "{\"version\":3,\"file\":\"dropdown.js\",\"sources\":[\"../src/dropdown.js\"],\"sourcesContent\":[\"/**\\n * --------------------------------------------------------------------------\\n * Bootstrap (v4.4.1): dropdown...
  "bootstrap/index.js" => "/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.4.0): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ------------------------...
  "bootstrap/index.js.map" => "{\"version\":3,\"sources\":[\"../src/index.js\"],\"names\":[\"\$\",\"TypeError\",\"version\",\"fn\",\"jquery\",\"split\",\"minMajor\",\"ltMajor\",\"minMinor\",\"minPatch\",\"maxMajor\",\"Error\"],\"mappings\":\"AAaA;;;;...
  "bootstrap/js/bootstrap.bundle.js" => "/*!\n  * Bootstrap v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/boo...
  "bootstrap/js/bootstrap.bundle.js.map" => "{\"version\":3,\"file\":\"bootstrap.bundle.js\",\"sources\":[\"../../js/src/util.js\",\"../../js/src/alert.js\",\"../../js/src/button.js\",\"../../js/src/carousel.js\",\"../../js/src/collapse.js\",\"../../...
  "bootstrap/js/bootstrap.bundle.min.js" => "/*!\n  * Bootstrap v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs...
  "bootstrap/js/bootstrap.bundle.min.js.map" => "{\"version\":3,\"sources\":[\"../../js/src/util.js\",\"../../js/src/alert.js\",\"../../js/src/button.js\",\"../../js/src/carousel.js\",\"../../js/src/collapse.js\",\"../../node_modules/popper.js/dist/e...
  "bootstrap/js/bootstrap.js" => "/*!\n  * Bootstrap v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstrap/...
  "bootstrap/js/bootstrap.js.map" => "{\"version\":3,\"file\":\"bootstrap.js\",\"sources\":[\"../../js/src/util.js\",\"../../js/src/alert.js\",\"../../js/src/button.js\",\"../../js/src/carousel.js\",\"../../js/src/collapse.js\",\"../../js/src/dropdow...
  "bootstrap/js/bootstrap.min.js" => "/*!\n  * Bootstrap v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootst...
  "bootstrap/js/bootstrap.min.js.map" => "{\"version\":3,\"sources\":[\"../../js/src/util.js\",\"../../js/src/alert.js\",\"../../js/src/button.js\",\"../../js/src/carousel.js\",\"../../js/src/collapse.js\",\"../../js/src/dropdown.js\",\"../../js/src/...
  "bootstrap/modal.js" => "/*!\n  * Bootstrap modal.js v4.4.1 (https://getbootstrap.com/)\n  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstra...

 view all matches for this distribution


Analizo

 view release on metacpan or  search on metacpan

lib/Analizo/GlobalMetric/ChangeCost.pm  view on Meta::CPAN

'coupling' it exhibits, as captured by the degree to which a change to any
single element causes a (potential) change to other elements in the system,
either directly or indirectly (i.e., through a chain of dependencies that exist
across elements).

... measures the percentage of elements affected, on average, when a change is
made to one element in the system."

=cut

__PACKAGE__->mk_accessors(qw( model ));

 view all matches for this distribution


AnnoCPAN

 view release on metacpan or  search on metacpan

tt/faq.html  view on Meta::CPAN

<a name="conf"></a><h3>What's the %confidence?</h3>

<p>When a note is added to a document, the software tries to guess where
would the same note go in other versions of the same document. This is based
on a text similarity analysis which provides a quantitative estimate
expressed as a percentage.</p>

<p>For example, let's say that you add a note to My::Module in My-Dist-0.10,
next to a paragraph that says "this is a paragraph". When version 0.20 comes
out, let's say that the paragraph moved and was modified to say "this is
one paragraph". The similarity search decides that this is still the same

 view all matches for this distribution


Antsy

 view release on metacpan or  search on metacpan

lib/Antsy.pm  view on Meta::CPAN

height	  	Optional. Height to render. See notes below.
preserveAspectRatio	  	Optional. If set to 0, then the image's inherent aspect ratio will not be respected; otherwise, it will fill the specified width and height as much as possible without stretching. Defaults to 1.
inline	  	Optional. If set to 1, the file will be displayed inline. Otherwise, it will be downloaded with no visual representation in the terminal session. Defaults to 0.
N: N character cells.
Npx: N pixels.
N%: N percent of the session's width or height.
auto: The image's inherent size will be used to determine an appropriate dimension.
More on File Transfers
By omitting the inline argument (or setting its value to 0), files will be downloaded and saved in the Downloads folder instead of being displayed inline. Any kind of file may be downloaded, but only images will display inline. Any image format that ...

If the file's size exceeds the declared size, the transfer may be canceled. This is a security measure to prevent a download gone wrong from using unbounded memory.

 view all matches for this distribution


AnyEvent-HTTPD

 view release on metacpan or  search on metacpan

lib/AnyEvent/HTTPD/HTTPConnection.pm  view on Meta::CPAN

# This is the default content type. Forms submitted with this content type must
# be encoded as follows:
#
#    1. Control names and values are escaped. Space characters are replaced by
#    `+', and then reserved characters are escaped as described in [RFC1738],
#    section 2.2: Non-alphanumeric characters are replaced by `%HH', a percent
#    sign and two hexadecimal digits representing the ASCII code of the
#    character. Line breaks are represented as "CR LF" pairs (i.e., `%0D%0A').
#
#    2. The control names/values are listed in the order they appear in the
#    document. The name is separated from the value by `=' and name/value pairs

 view all matches for this distribution


AnyEvent-Memcached

 view release on metacpan or  search on metacpan

lib/AnyEvent/Memcached.pm  view on Meta::CPAN

# flag definitions
use constant F_STORABLE => 1;
use constant F_COMPRESS => 2;

# size savings required before saving compressed value
use constant COMPRESS_SAVINGS => 0.20; # percent

our $HAVE_ZLIB;
BEGIN {
	$HAVE_ZLIB = eval "use Compress::Zlib (); 1;";
}

 view all matches for this distribution


AnyEvent-Porttracker

 view release on metacpan or  search on metacpan

Porttracker/protocol.pod  view on Meta::CPAN

vlanname, port_pktcount, linkduplex, port_mac, device_log_end, 
port_errorcount, vtpdomain, switch_ip, device_log_start, 
linkstatus, linkspeed, device_mac, history_device, linkadminduplex, 
ifname, device_comment, device_notes, vlan, device_dnsname, 
ifalias, switch_uid, ifdescr, linkadminstatus, 
port_error_percentage, device_ip

=item valid columns for "switch" query

number_ports, switch_action, switch_syslocation, 
free_ports_percentage, switch_sysservices, switch_dnsname, 
history_switch, switch_log_end, switch_pollduration, switch_model, 
available_ports_percentage, switch_comment, ports_lastchange, 
switch_ip, switch_sysdescr, switch_notes, available_ports, 
poe_ports, switch_log_start, switch_uid, switch, free_ports

=back

Porttracker/protocol.pod  view on Meta::CPAN


port_pktcount, history_port, linkduplex, port_mac, port_comment, 
port_log_start, port_errorcount, port_log_end, 
detected_devices_current, linkstatus, linkspeed, linkadminduplex, 
ifname, port_action, poe_power, ifalias, switch_uid, poe_status, switch, 
ifdescr, linkadminstatus, port_error_percentage

Example:

   > [5, "realm_query", "5100005442", "switch_detail",
     ["ifname"], [],

 view all matches for this distribution


Apache-ASP

 view release on metacpan or  search on metacpan

ASP.pm  view on Meta::CPAN

	    my $code_blocks_open   = $head_data =~ s/\<\%//sg;
	    my $code_blocks_closed = $head_data =~ s/\%\>//sg;
	    $code_block += $code_blocks_open;
	    $code_block -= $code_blocks_closed;
	    if (($code_block < 0)) {
		$code_block = 0; # stray percents like height=100%> kinds of tags
	    }

#	    print STDERR "CODEBLOCK: $code_block $file; open $code_blocks_open closed $code_blocks_closed\n";
#	    print STDERR "FILE CONTEXT: $file_context LINENO: $file_line_number\n\n";
	}

 view all matches for this distribution


Apache-AuthCookieDBI

 view release on metacpan or  search on metacpan

AuthCookieDBI.pm  view on Meta::CPAN

sub _now_year_month_day_hour_minute_second {
    return sprintf '%04d-%02d-%02d-%02d-%02d-%02d', Today_and_Now;
}

#-------------------------------------------------------------------------------
# _percent_encode -- Percent-encode (like URI encoding) any non-alphanumberics
# in the supplied string.

sub _percent_encode {
    my ($str) = @_;
    $str =~ s/([^\w])/ uc sprintf '%%%02x', ord $1 /eg;
    return $str;
}

#-------------------------------------------------------------------------------
# _percent_decode -- Percent-decode (like URI decoding) any %XX sequences in
# the supplied string.

sub _percent_decode {
    my ($str) = @_;
    $str =~ s/%([0-9a-fA-F]{2})/ pack( "c",hex( $1 ) ) /ge;
    return $str;
}

AuthCookieDBI.pm  view on Meta::CPAN

        );
    }

    # Now we need to %-encode non-alphanumberics in the username so we
    # can stick it in the cookie safely.
    my $enc_user = _percent_encode $user;

    # OK, now we stick the username and the current time and the expire
    # time together to make the public part of the session key:
    my $current_time = _now_year_month_day_hour_minute_second;
    my $public_part  = "$enc_user:$current_time:$expire_time";

AuthCookieDBI.pm  view on Meta::CPAN

      _defined_or_empty( $enc_user, $issue_time, $expire_time, $supplied_hash );

    # Let's check that we got passed sensible values in the cookie.
    unless ( $enc_user =~ /^[a-zA-Z0-9_\%]+$/ ) {
        $r->log_reason(
"Apache::AuthCookieDBI: bad percent-encoded user $enc_user recovered from session ticket for auth_realm $auth_name",
            $r->uri
        );
        return;
    }

    # decode the user
    my $user = _percent_decode($enc_user);
    unless ( $issue_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) {
        $r->log_reason(
"Apache::AuthCookieDBI: bad issue time $issue_time recovered from ticket for user $user for auth_realm $auth_name",
            $r->uri
        );

 view all matches for this distribution


Apache-AuthCookieDBIRadius

 view release on metacpan or  search on metacpan

AuthCookieDBIRadius.pm  view on Meta::CPAN


sub _log_not_set($$);
sub _dir_config_var($$);
sub _dbi_config_vars($);
sub _now_year_month_day_hour_minute_second();
sub _percent_encode($);
sub _percent_decode($);

sub authen_cred($$\@);
sub authen_ses_key($$$);
sub group($$\@);

AuthCookieDBIRadius.pm  view on Meta::CPAN

{
	return sprintf '%04d-%02d-%02d-%02d-%02d-%02d', Today_and_Now;
}

#-------------------------------------------------------------------------------
# _percent_encode -- Percent-encode (like URI encoding) any non-alphanumberics
# in the supplied string.

sub _percent_encode($)
{
	my( $str ) = @_;
	$str =~ s/([^\w])/ uc sprintf '%%%02x', ord $1 /eg;
	return $str;
}

#-------------------------------------------------------------------------------
# _percent_decode -- Percent-decode (like URI decoding) any %XX sequences in
# the supplied string.

sub _percent_decode($)
{
	my( $str ) = @_;
	$str =~ s/%([0-9a-fA-F]{2})/ pack( "c",hex( $1 ) ) /ge;
	return $str;
}

AuthCookieDBIRadius.pm  view on Meta::CPAN

		);
	}

	# Now we need to %-encode non-alphanumberics in the username so we
	# can stick it in the cookie safely. 
	my $enc_user = _percent_encode $user;

	# OK, now we stick the username and the current time and the expire
	# time together to make the public part of the session key:
	my $current_time = _now_year_month_day_hour_minute_second;

AuthCookieDBIRadius.pm  view on Meta::CPAN

   my( $enc_user,$issue_time,$expire_time,$activeuser,$a,$b,$c,$d,$e,$f,$g,$supplied_hash )
	   = split /:/, $session_key;
	# Let's check that we got passed sensible values in the cookie.
	unless ( $enc_user =~ /^[a-zA-Z0-9_\%]+$/ ) 
	{
		$r->log_reason( "Apache::AuthCookieDBIRadius: bad percent-encoded user $enc_user recovered from session ticket for auth_realm $auth_name", $r->uri );
		return undef;
	}

	# decode the user
	my $user = _percent_decode $enc_user;
	unless ( $issue_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) 
	{
		$r->log_reason( "Apache::AuthCookieDBIRadius: bad issue time $issue_time recovered from ticket for user $user for auth_realm $auth_name", $r->uri );
		return undef;
	}

 view all matches for this distribution


Apache-AuthCookieLDAP

 view release on metacpan or  search on metacpan

AuthCookieLDAP.pm  view on Meta::CPAN


sub _log_not_set($$);
sub _dir_config_var($$);
sub _dbi_config_vars($);
sub _now_year_month_day_hour_minute_second();
sub _percent_encode($);
sub _percent_decode($);

sub authen_cred($$\@);
sub authen_ses_key($$$);
sub group($$$);

AuthCookieLDAP.pm  view on Meta::CPAN

{
	return sprintf '%04d-%02d-%02d-%02d-%02d-%02d', Today_and_Now;
}

#-------------------------------------------------------------------------------
# _percent_encode -- Percent-encode (like URI encoding) any non-alphanumberics
# in the supplied string.

sub _percent_encode($)
{
	my( $str ) = @_;
	$str =~ s/([^\w])/ uc sprintf '%%%02x', ord $1 /eg;
	return $str;
}

#-------------------------------------------------------------------------------
# _percent_decode -- Percent-decode (like URI decoding) any %XX sequences in
# the supplied string.

sub _percent_decode($)
{
	my( $str ) = @_;
	$str =~ s/%([0-9a-fA-F]{2})/ pack( "c",hex( $1 ) ) /ge;
	return $str;
}

AuthCookieLDAP.pm  view on Meta::CPAN

		);
	}

	# Now we need to %-encode non-alphanumberics in the username so we
	# can stick it in the cookie safely.  *** DEBUG *** check this
	my $enc_user = _percent_encode $user;

	# OK, now we stick the username and the current time and the expire
	# time together to make the public part of the session key:
	my $current_time = _now_year_month_day_hour_minute_second;
	my $public_part = "$enc_user:$current_time:$expire_time";

AuthCookieLDAP.pm  view on Meta::CPAN

	# Break up the session key.
	my( $enc_user, $issue_time, $expire_time, $supplied_hash )
	   = split /:/, $session_key;
	# Let's check that we got passed sensible values in the cookie.
	unless ( $enc_user =~ /^[a-zA-Z0-9_\%]+$/ ) {
		$r->log_reason( "Apache::AuthCookieLDAP: bad percent-encoded user $enc_user recovered from session ticket for auth_realm $auth_name", $r->uri );
		return undef;
	}
	# decode the user
	my $user = _percent_decode $enc_user;
	unless ( $issue_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) {
		$r->log_reason( "Apache::AuthCookieLDAP: bad issue time $issue_time recovered from ticket for user $user for auth_realm $auth_name", $r->uri );
		return undef;
	}
	unless ( $expire_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) {

 view all matches for this distribution


Apache-AuthCookiePAM

 view release on metacpan or  search on metacpan

AuthCookiePAM.pm  view on Meta::CPAN


sub _log_not_set($$);
sub _dir_config_var($$);
sub _config_vars($);
sub _now_year_month_day_hour_minute_second();
sub _percent_encode($);
sub _percent_decode($);

sub authen_cred($$\@);
sub authen_ses_key($$$);
sub group($$\@);

AuthCookiePAM.pm  view on Meta::CPAN

{
	return sprintf '%04d-%02d-%02d-%02d-%02d-%02d', Today_and_Now;
}

#-------------------------------------------------------------------------------
# _percent_encode -- Percent-encode (like URI encoding) any non-alphanumberics
# in the supplied string.

sub _percent_encode($)
{
	my( $str ) = @_;
	$str =~ s/([^\w])/ uc sprintf '%%%02x', ord $1 /eg;
	return $str;
}

#-------------------------------------------------------------------------------
# _percent_decode -- Percent-decode (like URI decoding) any %XX sequences in
# the supplied string.

sub _percent_decode($)
{
	my( $str ) = @_;
	$str =~ s/%([0-9a-fA-F]{2})/ pack( "c",hex( $1 ) ) /ge;
	return $str;
}

AuthCookiePAM.pm  view on Meta::CPAN

							$deltaminute, $deltasecond ));
          }

	   # Now we need to %-encode non-alphanumberics in the username so we
	   # can stick it in the cookie safely.  *** DEBUG *** check this
	   my $enc_user; $enc_user = _percent_encode $user;

	   # OK, now we stick the username and the current time and the expire
	   # time together to make the public part of the session key:
	   my $current_time; $current_time = _now_year_month_day_hour_minute_second;
	   my $public_part; $public_part = "$enc_user:$current_time:$expire_time";

AuthCookiePAM.pm  view on Meta::CPAN

	# Break up the session key.
	my( $enc_user, $issue_time, $expire_time, $supplied_hash )
	   = split /:/, $session_key;
	# Let's check that we got passed sensible values in the cookie.
	unless ( $enc_user =~ /^[a-zA-Z0-9_\%]+$/ ) {
		$r->log_reason( "Apache::AuthCookiePAM: bad percent-encoded user $enc_user recovered from session ticket for auth_realm $auth_name", $r->uri );
		return undef;
	}
	# decode the user
	my $user; $user = _percent_decode $enc_user;
	unless ( $issue_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) {
		$r->log_reason( "Apache::AuthCookiePAM: bad issue time $issue_time recovered from ticket for user $user for auth_realm $auth_name", $r->uri );
		return undef;
	}
	unless ( $expire_time =~ /^\d{4}-\d{2}-\d{2}-\d{2}-\d{2}-\d{2}$/ ) {

 view all matches for this distribution


Apache-AxKit-Plugin-Upload

 view release on metacpan or  search on metacpan

lib/Apache/AxKit/Plugin/Upload.pm  view on Meta::CPAN

    my $elapsed = $now-$start;

    my $todo = 0;
    $todo = ($sizetotal - $sizedone) * $elapsed / $sizedone if $sizedone > 0;

    my $percent = 0;
    $percent = int($sizedone*100/$sizetotal) if $sizetotal > 0;
    my $showpercent = ($percent?$percent:1);
    #warn("printing: $percent");

    my $speed = 0;
    $speed = $nf->format_bytes($sizedone / $elapsed,1) if $elapsed > 0;

    $sizedone = $nf->format_bytes($sizedone,1);

lib/Apache/AxKit/Plugin/Upload.pm  view on Meta::CPAN

    $todo = sprintf("%i:%02i",int($todo/60),$todo%60);

    local(*FH);
    open(FH, ">$file.tmp") || warn("could not open $file.tmp: $!");

    if (!$custom && $percent == 100) {
        print FH << "EOF";
<html>
  <head>
    <title>Upload Status</title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <table border="0" width="264" cellspacing="0" cellpadding="1" style="table-layout: fixed;">
      <tr>
        <td width="40" height="24"><font face="sans-serif">$percent\%</font></td>
        <td width="224" height="24" bgcolor="#000000"><table border="0" width="222" cellspacing="0" cellpadding="1" style="table-layout: fixed;" bgcolor="#ffffff">
          <tr>
            <td height="22"><table border="0" width="$showpercent\%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
              <tr><td height="20" bgcolor="#000080"><font size="-7">&nbsp;</font></td></tr>
            </table></td>
          </tr>
        </table></td>
      </tr>

lib/Apache/AxKit/Plugin/Upload.pm  view on Meta::CPAN

    <meta http-equiv="Refresh" CONTENT="1; URL=$location" />
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <table border="0" width="264" cellspacing="0" cellpadding="1" style="table-layout: fixed;">
      <tr>
        <td width="40" height="24"><font face="sans-serif">$percent\%</font></td>
        <td width="224" height="24" bgcolor="#000000"><table border="0" width="222" cellspacing="0" cellpadding="1" style="table-layout: fixed;" bgcolor="#ffffff">
          <tr>
            <td height="22"><table border="0" width="$showpercent\%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
              <tr><td height="20" bgcolor="#000080"><font size="-7">&nbsp;</font></td></tr>
            </table></td>
          </tr>
        </table></td>
      </tr>

lib/Apache/AxKit/Plugin/Upload.pm  view on Meta::CPAN

    my $elapsed = $now-$start;

    my $todo = 0;
    $todo = ($total - $done) * $elapsed / $done if $done > 0;
    
    my $percent = 0;
    $percent = int($done*100/$total) if $total > 0;
    my $showpercent = ($percent?$percent:1);
    
    $todo = sprintf("%i:%02i",int($todo/60),$todo%60);
    
    local(*FH);
    open(FH, ">$file.tmp") || warn("could not open $file.tmp: $!");
    if ($percent == 100) {
        print FH << "EOF";
<html>
  <head>
    <title>Upload Status</title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <table border="0" width="264" cellspacing="0" cellpadding="1" style="table-layout: fixed;">
      <tr>
        <td width="40" height="24"><font face="sans-serif" size="-1">$percent\%</font></td>
        <td width="224" height="24" bgcolor="#000000"><table border="0" width="222" cellspacing="0" cellpadding="1" style="table-layout: fixed;" bgcolor="#ffffff">
          <tr>
            <td height="22"><table border="0" width="$showpercent\%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
              <tr><td height="20" bgcolor="#000080"><font size="-7">&nbsp;</font></td></tr>
            </table></td>
          </tr>
        </table></td>
      </tr>

lib/Apache/AxKit/Plugin/Upload.pm  view on Meta::CPAN

    <meta http-equiv="Refresh" CONTENT="1; URL=$location" />
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <table border="0" width="264" cellspacing="0" cellpadding="1" style="table-layout: fixed;">
      <tr>
        <td width="40" height="24"><font face="sans-serif" size="-1">$percent\%</font></td>
        <td width="224" height="24" bgcolor="#000000"><table border="0" width="222" cellspacing="0" cellpadding="1" style="table-layout: fixed;" bgcolor="#ffffff">
          <tr>
            <td height="22"><table border="0" width="$showpercent\%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
              <tr><td height="20" bgcolor="#000080"><font size="-7">&nbsp;</font></td></tr>
            </table></td>
          </tr>
        </table></td>
      </tr>

 view all matches for this distribution


Apache-AxKit-Provider-OpenOffice

 view release on metacpan or  search on metacpan

dtds/chart.mod  view on Meta::CPAN

		  chart:stock-updown-bars %boolean; "false"
		  chart:stock-with-volume %boolean; "false"
		  chart:three-dimensional %boolean; "false"
		  chart:deep %boolean; "false"
		  chart:lines %boolean; "false"
		  chart:percentage %boolean; "false"
		  chart:solid-type %chart-solid-type; "cuboid"
		  chart:splines %nonNegativeInteger; "0"
		  chart:stacked %boolean; "false"
		  chart:symbol %integer; "-1"
		  chart:vertical %boolean; "false"

dtds/chart.mod  view on Meta::CPAN


<!-- statistical properties -->

<!ATTLIST style:properties
		  chart:mean-value %boolean; #IMPLIED
		  chart:error-category (none|variance|standard-deviation|percentage|error-margin|constant) "none"
		  chart:error-percentage %float; #IMPLIED
		  chart:error-margin %float; #IMPLIED
		  chart:error-lower-limit %float; #IMPLIED
		  chart:error-upper-limit %float; #IMPLIED
		  chart:error-upper-indicator %boolean; #IMPLIED
		  chart:error-lower-indicator %boolean; #IMPLIED
		  chart:regression-type (none|linear|logarithmic|exponential|power) "none" >

<!-- data label properties -->

<!ATTLIST style:properties
		  chart:data-label-number (none|value|percentage) "none"
		  chart:data-label-text %boolean; "false"
		  chart:data-label-symbol %boolean; "false" >

<!-- general text properties -->

 view all matches for this distribution


Apache-Bootstrap

 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


Apache-DumpHeaders

 view release on metacpan or  search on metacpan

DumpHeaders.pm  view on Meta::CPAN

If this is set to a true value we'll only dump the headers if another
module have set r->notes("DumpHeaders") to a true value.

=head2 DumpHeaders_Percent

If this is set, we'll only dump the specified percent of the requests.

=head1 SUPPORT

The latest version of this module can be found at CPAN and at
L<http://develooper.com/code/Apache::DumpHeaders/>. Send questions and

 view all matches for this distribution


Apache-EmbeddedPerl-Lite

 view release on metacpan or  search on metacpan

ApacheSoftwareLicense  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


Apache-LogFormat-Compiler

 view release on metacpan or  search on metacpan

lib/Apache/LogFormat/Compiler.pm  view on Meta::CPAN


Takes a format string (or a preset template C<combined> or C<custom>)
to specify the log format. This module implements a subset of
L<Apache's LogFormat templates|http://httpd.apache.org/docs/2.0/mod/mod_log_config.html>:

   %%    a percent sign
   %h    REMOTE_ADDR from the PSGI environment, or -
   %l    remote logname not implemented (currently always -)
   %u    REMOTE_USER from the PSGI environment, or -
   %t    [local timestamp, in default format]
   %r    REQUEST_METHOD, REQUEST_URI and SERVER_PROTOCOL from the PSGI environment

 view all matches for this distribution


Apache-MP3

 view release on metacpan or  search on metacpan

MP3/Resample.pm  view on Meta::CPAN

  my $presets = $self->presets($bitrate);
  my $type = $self->r->lookup_file($file)->content_type;
  my $decompress = $self->decompressor ($type) || "";
  my $encode = $self->r->dir_config('MP3Encoder') || ENCODE;
  my $inputtype = length $decompress ? "" : " --mp3input";
  my $percentF = length $decompress ? "" : ("<" . quotemeta ($file));
  $decompress =~ s{%([a-zA-Z])}
    { $1 eq 'f' ? quotemeta($file) :
	"%$1"}exg;
  $encode =~ s{%([a-zA-Z])}
              {$1 eq 'b' ? $presets         :
	       $1 eq 'D' ? $decompress      :
	       $1 eq 'I' ? $inputtype       :
	       $1 eq 'F' ? $percentF        :
               $1 eq 'f' ? quotemeta($file) :
               "%$1"}exg;
  my $filter = $self->r->dir_config('VerboseMP3Encoder')
    ? "$encode |" : "$encode 2>/dev/null |";
  return IO::File->new($filter);

 view all matches for this distribution


Apache-PageKit

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN


1.14. "You" means an individual or a legal entity exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1. For legal entities, "You" includes any entity which
controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a)
the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise,
or (b) ownership of fifty percent (50%) or more of the outstanding shares or beneficial ownership of such entity. 

 

2. Source Code License. 

 view all matches for this distribution


Apache-Reload

 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


Apache-Scoreboard

 view release on metacpan or  search on metacpan

lib/Apache/Scoreboard.pm  view on Meta::CPAN

system times, in seconds, for this process and the children of this
process.

  my($user, $system, $cuser, $csystem) = $worker_score->times;

In a scalar context, returns the overall CPU percentage for this
worker:

  my $cpu = $worker_score->times;


 view all matches for this distribution


Apache-SdnFw

 view release on metacpan or  search on metacpan

lib/Apache/SdnFw/lib/Core.pm  view on Meta::CPAN

	return $value if ($value eq '');
	return 'Yes' if ($value);
	return 'No' if (!$value);
}

sub format_percent {

=head2 format_percent

 my $string = $s->format_percent($number);

Given 0.123, returns 12.3%.

=cut

 view all matches for this distribution


Apache-SizeLimit

 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


Apache-TS-AdminClient

 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


Apache-Test

 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


Apache-Throttle

 view release on metacpan or  search on metacpan

throttleimg  view on Meta::CPAN

    print CONF "$time\n";
    close CONF;

    my $des = "0";
    for my $i (0 .. $steps - 1) {
	my $percent = $i / $steps;
	
	my $image = new Image::Magick;
	$image->Read("$file/Z-$file");
	my ($width, $height) = $image->Get("width", "height");
	
	my @changes = ();
	if (!$same_size) {
	    my $new_width = $width * (.25 + .75 * $percent);
	    my $new_height = $height * (.25 + .75 * $percent);
	    $image->Scale(width => $new_width, height => $new_height);
	    push(@changes, "size=${new_width}x${new_height}");
	}
	if (!$same_quality && ($image->Get("magick") eq "JPG")) {
	    my $quality = 10 + 90 * $percent;
	    $image->Set(quality => $quality);
	    push(@changes, "quality=${quality}%");
	}
	if (!$same_colors && ($image->Get("magick") eq "GIF")) {
            my $colors = 10 + 245 * $percent;
            $image->Quantize(colors => $colors, colorspace => "RGB",
                             dither => "true");
            push(@changes, "colors=$colors");

	}

 view all matches for this distribution


( run in 1.084 second using v1.01-cache-2.11-cpan-709fd43a63f )