view release on metacpan or search on metacpan
www/edgeexpress/jscript/prototype-1.5.1.1.js view on Meta::CPAN
},
'only-of-type': function(m) {
var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);
},
nth: function(fragment, m) {
var mm, formula = m[6], predicate;
if (formula == 'even') formula = '2n+0';
if (formula == 'odd') formula = '2n+1';
if (mm = formula.match(/^(\d+)$/)) // digit only
return '[' + fragment + "= " + mm[1] + ']';
if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
if (mm[1] == "-") mm[1] = -1;
var a = mm[1] ? Number(mm[1]) : 1;
var b = mm[2] ? Number(mm[2]) : 0;
predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " +
"((#{fragment} - #{b}) div #{a} >= 0)]";
www/edgeexpress/jscript/prototype-1.5.1.1.js view on Meta::CPAN
for (var i = 0, results = [], node; node = nodes[i]; i++)
if (!h.previousElementSibling(node) && !h.nextElementSibling(node))
results.push(node);
return results;
},
'nth-child': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, formula, root);
},
'nth-last-child': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, formula, root, true);
},
'nth-of-type': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, formula, root, false, true);
},
'nth-last-of-type': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, formula, root, true, true);
},
'first-of-type': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, "1", root, false, true);
},
'last-of-type': function(nodes, formula, root) {
return Selector.pseudos.nth(nodes, "1", root, true, true);
},
'only-of-type': function(nodes, formula, root) {
var p = Selector.pseudos;
return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);
},
// handles the an+b logic
getIndices: function(a, b, total) {
if (a == 0) return b > 0 ? [b] : [];
www/edgeexpress/jscript/prototype-1.5.1.1.js view on Meta::CPAN
return memo;
});
},
// handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type
nth: function(nodes, formula, root, reverse, ofType) {
if (nodes.length == 0) return [];
if (formula == 'even') formula = '2n+0';
if (formula == 'odd') formula = '2n+1';
var h = Selector.handlers, results = [], indexed = [], m;
h.mark(nodes);
for (var i = 0, node; node = nodes[i]; i++) {
if (!node.parentNode._counted) {
h.index(node.parentNode, reverse, ofType);
indexed.push(node.parentNode);
}
}
if (formula.match(/^\d+$/)) { // just a number
formula = Number(formula);
for (var i = 0, node; node = nodes[i]; i++)
if (node.nodeIndex == formula) results.push(node);
} else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
if (m[1] == "-") m[1] = -1;
var a = m[1] ? Number(m[1]) : 1;
var b = m[2] ? Number(m[2]) : 0;
var indices = Selector.pseudos.getIndices(a, b, nodes.length);
for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {
view all matches for this distribution
view release on metacpan or search on metacpan
USE_PDFLATEX = NO
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/good/10398587.utf8 view on Meta::CPAN
extends to the conservation of a catalytically important lysine that
stabilizes the transition state and to the use of a tyrosine as a base
â with subtle modifications arising from differing requirements of the
reduction chemistry.
[33]PDF (1680 K)
[34]Triclosan: release from transdermal adhesive formulatio...
International Journal of Pharmaceutics
Close
You are entitled to access the full text of this document
[35]Triclosan: release from transdermal adhesive formulations and in
vitro permeation across human epidermal membranes Original Research
Article
International Journal of Pharmaceutics, Volume 235, Issues 1-2, 20
March 2002, Pages 229-236
Paula Chedgzoy, Gareth Winckle, Charles M. Heard
t/data/good/10398587.utf8 view on Meta::CPAN
effective alternative or adjunct to conventional regimens. Triclosan is
widely used as an anti-bacterial agent and it has recently been
demonstrated that this compound has anti-malarial properties. Its high
lipophilicity makes it a potential candidate for delivery across the
skin and this paper examines in vitro the potential for the transdermal
delivery of triclosan from âdrug-in-glueâ formulations. Model patches
were prepared using DuroTak® 2287, 2516 and 2051 acrylic polymer
adhesives loaded with 0, 30 and 50 mg per 0.785 cm^â2 triclosan and
dissolution was measured over a 12-h period. There was no apparent
difference between the adhesives at the 30 mg patch loading, but at 50
mg, the trend for increased release was 2051>2516>2287. No significant
view all matches for this distribution
view release on metacpan or search on metacpan
Unicode/Unicode.pm view on Meta::CPAN
1048576 more characters. Now we can store character ranges up to
\x{10ffff} even with 16-bit encodings. This pair of half-character is
now called a I<surrogate pair> and UTF-16 is the name of the encoding
that embraces them.
Here is a formula to ensurrogate a Unicode character \x{10000} and
above;
$hi = ($uni - 0x10000) / 0x400 + 0xD800;
$lo = ($uni - 0x10000) % 0x400 + 0xDC00;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Grinder.pm view on Meta::CPAN
as simply as possible. The use cases are (1) when you need to export data from
your database/application for non-programmers to enjoy in their beloved Excel
and (2) when you need to allow for batch import/update operations via
user-provided Excel.
There are so many awesome things you can do with Excel (formatting, formulas,
pivot tables, etc.) but this module does none of that. This is for the basic
read-it-in and write-it-out -- which might just fit the bill.
This module will read an Excel (XLSX) file into a three-level arrayref. The first
level is the worksheets, second level is the rows, and third level is the cells, such that:
$$my_data[4][2][10] --> Worksheet 5, Row 3, Column 11 (aka as Column K)
Form a three-level arrayref to represent worksheets/rows/cells in this way, and you can create
a plain Excel XLSX file. No formatting or formulas. Ready for Tableau or just to confuse
your favorite front-line manager.
I put this together because I was offended at how difficult it is just to create an Excel
file in certain non-Perl environments, and since Excel is just a part of life for so many of us,
it really should be dead-simple.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/PowerPivot/Utils.pm view on Meta::CPAN
my $yaml = "";
foreach my $query ($self->queries) {
# get the Power Query formula and reformat it if type arguments are on a single-line
my $formula = $query->{Formula};
$formula =~ s[(TransformColumnTypes.*?{)({.*})}][$1 . $reformat_types->($2) . '}']eg
if $col_name;
# build the YAML entry for that query
$yaml .= "\n\n$YAML_separator_line\n"
. "- Name : $query->{Name}\n"
. "$YAML_separator_line\n"
. " Description : $query->{Description}\n"
. " Formula : |-\n"
. $formula =~ s/^/ /gmr; # indentation of the formula code
}
return $yaml;
}
lib/Excel/PowerPivot/Utils.pm view on Meta::CPAN
RELATIONSHIPS => ...
MEASURES => ...});
# .. or specific operations on queries, relationships or measures
print $ppu->queries_as_YAML;
$ppu->inject_queries ([{Name => 'New_table', Formula => $M_formula_for_new_table}]);
print $ppu->relationships_as_YAML;
$ppu->inject_relationships([ {ForeignKey => 'Album.ArtistId',
PrimaryKey => 'Artist.ArtistId',
Active => 1},
lib/Excel/PowerPivot/Utils.pm view on Meta::CPAN
the name of the query
=item Formula
the M formula (Power Query language)
=item Description
optional description text
lib/Excel/PowerPivot/Utils.pm view on Meta::CPAN
the name of the table to which this measure is associated
=item Formula
the DAX formula
=item Description
optional description text
lib/Excel/PowerPivot/Utils.pm view on Meta::CPAN
$ptable->CubeFields("[Genre].[Name]") ->{Orientation} = xlColumnField;
$ptable->CubeFields("[Customer].[Country]") ->{Orientation} = xlRowField;
=item e)
Then it is possible to write Excel formulas that extract values from the pivot cache.
So for example here is the formula that retrieves the percentage of sales for the "Classical"
genre in Austria :
= CUBEVALUE("ThisWorkbookDataModel",
"[Measures].[Invoice Lines Percentage Sales]",
"[Genre].[Name].[Classical]",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Template/Element/Cell/AutoSize.pm view on Meta::CPAN
coded. The second two have variables. The third and fourth items have another
thing that should be noted. If you have text where you want a variable in the
middle, you have to use the latter form. Variables within parameters are the
entire parameter's value.
Please see Spreadsheet::WriteExcel for what constitutes a legal formula.
=head1 AUTHOR
Tim Howell (tim@fefcful.org)
Based on Excel::Template::Element::Cell by Rob Kinyon
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Template/XLSX.pm view on Meta::CPAN
sub _parse_sheet_pass2 {
=head2 _parse_sheet_pass2
Parses cell contents (first by row, then by column). Cells can contain
inline strings, string references, direct string values, formulas,
and hyperlinks. Each cell may also contain formatting information.
The format is in an index to formatting for borders, shading, alignment,
font, and number formats.
=cut
lib/Excel/Template/XLSX.pm view on Meta::CPAN
# Formulas
elsif ( $t eq 'n' ) {
if ( my $form_child = $cell->first_child('f') ) {
my $is_array = $form_child->att('t');
my $ref = $form_child->att('ref');
my $formula = $form_child->text() // q[="No Formula Found"];
if ($is_array and $ref) {
$sheet->write_array_formula( $ref, "=${formula}", $format, $val );
}
else {
if ( my $ref = $self->{MERGED_RANGES}{$sheet_idx}{$a1} ) {
$sheet->merge_range_type('formula', $ref, "=${formula}", $format, $val);
$self->{MERGED_RANGES}{$sheet_idx}{$a1} = 0; # Flag it as used. Handle unused ranges at end
} else {
$sheet->write_formula( $a1, "=${formula}", $format, $val );
}
}
next;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Template.pm view on Meta::CPAN
This is the actual cell in a spreadsheet.
=item * L<FORMULA|Excel::Template::Element::Formula>
This is a formula in a spreadsheet.
=item * L<RANGE|Excel::Template::Element::Range>
This is a BACKREF for a number of identically-named cells.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/ValueReader/XLSX.pm view on Meta::CPAN
=head2 Purpose
This module reads the contents of an Excel file in XLSX format.
Unlike other modules like L<Spreadsheet::ParseXLSX> or L<Data::XLSX::Parser>,
this module has no support for reading formulas, formats or other Excel internal
information; all you get are plain values -- but you get them much faster !
Besides, this API has some features not found in concurrent parsers :
=over
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
String(-default => "S.")],
-all => String,
)->meth_signature;
my $sig_for_add_defined_name = List(String(-name => "name"),
String(-name => "formula"),
String(-name => "comments", -optional => 1),
)->meth_signature;
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
$self{sheets} = []; # array of sheet names
$self{tables} = []; # array of table names
$self{shared_string} = {}; # ($string => $string_index)
$self{n_strings_in_workbook} = 0; # total nb of strings (including duplicates)
$self{last_string_id} = 0; # index for the next shared string
$self{defined_names} = {}; # ($name => [$formula, $comment])
# immediately open a Zip archive
$self{zip} = Archive::Zip->new;
# return the constructed object
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
# ==== ========= ====
= looks_like_number($val) && $val !~ /^\pL/ ? (v => "" , $val )
: $date_regex && $val =~ $date_regex
&& is_valid_date(\%+, \$n_days) ? (v => qq{ s="$DATE_STYLE"}, $n_days )
: $bool_regex && $val =~ $bool_regex ? (v => qq{ t="b"} , $1 ? 1 : 0 )
: $val =~ /^=/ ? (f => "", escape_formula($val) )
: (v => qq{ t="s"} , $self->_add_shared_string($val));
# add the new XML cell
my $cell = qq{<c r="$col_letter$row_num"$attrs><$tag>$val</$tag></c>};
push @cells, $cell;
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
return $table_id;
}
sub add_defined_name {
my ($self, $name, $formula, $comment) = &$sig_for_add_defined_name;
not exists $self->{defined_names}{$name} or croak "add_defined_name(): name '$name' already in use";
$self->{defined_names}{$name} = [$formula, $comment];
}
sub worksheet_rels {
my ($self, $table_id) = @_;
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
my $node = qq{<si><t$maybe_preserve_space>$string</t></si>};
return $node;
}
sub escape_formula {
my ($string) = @_;
$string =~ s/^=//;
$string =~ s/($entity_regex)/$entity{$1}/g;
return $string;
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
]);
$writer->add_sheet($sheet_name2, $table_name2, \@headers, sub {...});
$writer->add_sheet($sheet_name3, $table_name3, $sth); # DBI statement handle
$writer->add_sheet($sheet_name4, $table_name4, $statement); # DBIx::DataModel::Statement object
$writer->add_sheets_from_database($dbh);
$writer->add_defined_name($name, $formula, $comment);
$writer->save_as($filename);
$writer = Excel::ValueWriter::XLSX->new(bool_regex => qr[^(?:(VRAI)|FAUX)$]);
$writer->add_sheet($sheet_name1, $table_name1, [qw/a b/], [['I like Perl:', 'VRAI']]);
=head1 DESCRIPTION
The present module is aimed at fast and cost-effective
production of "data-only" Excel workbooks, containing nothing but plain values
and formulas.
CPU and memory usage are much lower than with the well-known L<Excel::Writer::XLSX>;
however the set of features is also much more restricted : there is no support
for formats, colors, figures or other fancy Excel features.
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
Cells within a row must contain scalar values. Values that look like numbers are treated
as numbers. String values that match the C<date_regex> are converted into numbers and
displayed through a date format, but only if the date is valid and is above 1900 January 1st --
otherwise it is treated as a string, like in Excel.
String values that start with an initial '=' are treated
as formulas; but like in Excel, if you want a plain string that starts with a '=', put a single
quote just before the '=' -- that single quote will be removed from the string.
Everything else is treated as a string. Strings are shared at the workbook level
(hence a string that appears several times in the input data will be stored
only once within the workbook).
lib/Excel/ValueWriter/XLSX.pm view on Meta::CPAN
=back
=head2 add_defined_name
$writer->add_defined_name($name, $formula, $comment);
Adds a "defined name" to the workbook. Defined names can be used
in any formula within the workbook, and will be replaced by
the corresponding content.
=over
=item *
C<$name> is mandatory and must be unique
=item *
C<$formula> is mandatory and will be interpreted by Excel like a formula.
References to ranges should include the sheet name and use absolute coordinates;
for example for concatenating two cells in sheet 's1', the formula is :
$writer->add_defined_name(cells_1_and_2 => q{'s1'!$A$1&'s1'!$A$2});
If the intended content is just a constant string, it must be enclosed in double quotes, i.e.
view all matches for this distribution
view release on metacpan or search on metacpan
examples/a_simple.pl view on Meta::CPAN
$worksheet->write( 3, 0, 3.00000 ); # Writes 3
$worksheet->write( 4, 0, 3.00001 ); # Writes 3.00001
$worksheet->write( 5, 0, 3.14159 ); # TeX revision no.?
# Write some formulas
$worksheet->write( 7, 0, '=A3 + A6' );
$worksheet->write( 8, 0, '=IF(A5>3,"Yes", "No")' );
# Write a hyperlink
view all matches for this distribution
view release on metacpan or search on metacpan
t/ExtUtils/SVDmaker/expected/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FAQ/OMatic/Language_fr.pm view on Meta::CPAN
msgid "I sent email to you at "%0". It should arrive soon, containing a URL."
msgstr "Un mèl vous est envoyé à <i>%0</i>. Le mèl devrait être arrivé dans votre boîte aux lettre."
msgid "Either open the URL directly, or paste the secret into the form below and click Validate."
msgstr "Il contient un URL et une clé d'accès. Soit vous activez l'URL, soit vous utilisez la clé d'accès dans le formulaire ci-dessous et cliquez sur valider."
msgid "Thank you for taking the time to sign up."
msgstr "Merci beaucoup de prendre du temps pour s'inscrire."
msgid "Secret:"
lib/FAQ/OMatic/Language_fr.pm view on Meta::CPAN
msgid "I will send a secret number to the email address you enter to verify that it is valid."
msgstr "Je vous envoi un nombre secret à l'adresse mèl que vous avez entrée pour vérifier la validité de votre adresse."
msgid "If you prefer not to give your email address to this web form, please contact"
msgstr "Si vous ne souhaitez pas donner votre adresse mél dans ce formulaire web, alors contactez"
msgid "Please <b>do not</b> use a password you use anywhere else, as it will not be transferred or stored securely!"
msgstr "Svp <b>n'utilisez pas</b> un mot de passe que vous utilisez pour autre chose, car le transfert et le stockage ne sont pas sécurisé !"
msgid "Password:"
lib/FAQ/OMatic/Language_fr.pm view on Meta::CPAN
msgid "Text parts can only be removed by %0."
msgstr "Les articles ne peuvent être effacés que par %0."
msgid "This part contains raw HTML. To avoid pages with invalid HTML, the moderator has specified that only %0 can edit HTML parts. If you are %0 you may authenticate yourself with this form."
msgstr "Cette section contient du HTML pur. Afin d'éviter les pages avec du code HTML invalide, le modérateur a spécifié que personne que %0 peut éditer des sections en HTML. Si vous êtes %0, vous devez vous authentifier avec ce formulaire."
msgid "Text parts can only be added by %0."
msgstr "Les articles ne peuvent être ajoutées que par %0."
msgid "Text parts can only be edited by %0."
lib/FAQ/OMatic/Language_fr.pm view on Meta::CPAN
###
### Adds
###
msgid "Either someone has changed the answer or category you were editing since you received the editing form, or you submitted the same form twice."
msgstr "Quelqu'un a du changé l'entrée ou la catégorie pendant que vous receviez le formulaire d'édition, ou alors vous avez soumis le formulaire une deuxiéme fois."
msgid "Return to the FAQ"
msgstr "Retourner à la FAQ"
msgid "Please %0 and start again to make sure no changes are lost. Sorry for the inconvenience."
msgstr "Svp cliquez %0 et recommencez pour être sur que les modifications n'ont pas été perdues. Désolé pour l'inconveniant."
msgid "(Sequence number in form: %0; in item: %1)"
msgstr "(Numéro de séquence dans le formulaire %0; dans l'entrée: %1)."
msgid "This page will reload every %0 seconds, showing the last %1 lines of the process output."
msgstr "Cette page se redésignera toute les %0 secondes, et montre les %1 dernières lignes du process."
msgid "Show the entire process log"
view all matches for this distribution
view release on metacpan or search on metacpan
if (!$slide_window and !$pairwise and $Theta_w > 0) {
$Exp_num_alleles = 1 / $Theta_w;
for my $i (1 .. ($#seqs )) {
$Exp_num_alleles += 1 / ($Theta_w + $i);
}
$Exp_num_alleles *= $Theta_w; ## Ewen's Sampling formula
map {$a{$_}++} values %alleles; ## THIS MAKES THE a_i
my $log_prob = $Num_alleles * log ($Theta_w);
# $log_prob += Math::Gsl::Sf::sf_lnfact($Num_alleles);
$log_prob += Ramanujan_logfact($Num_alleles);
view all matches for this distribution
view release on metacpan or search on metacpan
deps/hidapi/doxygen/Doxyfile view on Meta::CPAN
# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
# cache is used to resolve symbols given their name and scope. Since this can be
# an expensive process and often the same symbol appears multiple times in the
# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
# doxygen will become slower. If the cache is too large, memory is wasted. The
# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
# symbols. At the end of a run doxygen will report the cache usage and suggest
# the optimal cache size from a speed point of view.
# Minimum value: 0, maximum value: 9, default value: 0.
deps/hidapi/doxygen/Doxyfile view on Meta::CPAN
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
EXT_LINKS_IN_WINDOW = NO
# Use this tag to change the font size of LaTeX formulas included as images in
# the HTML documentation. When you change the font size after a successful
# doxygen run you need to manually remove any form_*.png images from the HTML
# output directory to force them to be regenerated.
# Minimum value: 8, maximum value: 50, default value: 10.
# This tag requires that the tag GENERATE_HTML is set to YES.
FORMULA_FONTSIZE = 10
# Use the FORMULA_TRANSPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are not
# supported properly for IE 6.0, but are supported on all modern browsers.
#
# Note that when changing this option you need to delete any form_*.png files in
# the HTML output directory before the changes have effect.
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.
FORMULA_TRANSPARENT = YES
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
# https://www.mathjax.org) which uses client side Javascript for the rendering
# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
# installed or if you want to formulas look prettier in the HTML output. When
# enabled you may also need to install MathJax separately and configure the path
# to it using the MATHJAX_RELPATH option.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
deps/hidapi/doxygen/Doxyfile view on Meta::CPAN
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
# command to the generated LaTeX files. This will instruct LaTeX to keep running
# if errors occur, instead of asking the user for help. This option is also used
# when generating formulas in HTML.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.
LATEX_BATCHMODE = NO
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Finder/Steps.pm view on Meta::CPAN
=head2 STEPS METHODS
These methods are called on a class or instance to add a "step". Each
step adds itself to a list of steps, returning the new object. This
allows you to chain steps together to form a formula.
As in I<find>, the default operator is "and", and short-circuiting is
performed.
Note: the C<user>, C<nouser>, C<group>, C<nogroup>, and C<ls> methods
lib/File/Finder/Steps.pm view on Meta::CPAN
find /tmp -type f '(' -size +100 -o -mtime +90 ')' -print
Without the parens, the -type would bind to -size, and not to the
choice of -size or -mtime.
Mismatched parens will not be found until the formula is used, causing
a fatal error.
=cut
sub right { return "right" }
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Information/Base.pm view on Meta::CPAN
'application/vnd.sirtx.vmv0' => 'f718f85b-6b41-53c0-9c66-8796df90c725',
'application/vnd.debian.binary-package' => '026b4c07-00ab-581d-a493-73e0b9b1cff9',
'application/vnd.oasis.opendocument.base' => '319de973-68e2-5a01-af87-6fe4a5b800c6',
'application/vnd.oasis.opendocument.chart' => '271d085d-1a51-5795-86f5-e6849166cbf6',
'application/vnd.oasis.opendocument.chart-template' => 'e8d5322b-0d40-5e3d-a754-4dd0ee6a4bb9',
'application/vnd.oasis.opendocument.formula' => 'e771c71d-f4b8-56a7-b299-1ede808b91d0',
'application/vnd.oasis.opendocument.formula-template' => '4b9eb9eb-786d-5831-89e1-edcba46a2bb6',
'application/vnd.oasis.opendocument.graphics' => '322c5088-84c9-59aa-a828-ffe183557457',
'application/vnd.oasis.opendocument.graphics-template' => '76d3335e-a49e-54ec-bec5-8e3bb46d8412',
'application/vnd.oasis.opendocument.image' => '869257aa-b61f-5210-af8a-d9a33c356629',
'application/vnd.oasis.opendocument.image-template' => '60d259d0-4d58-59c8-81f7-9725f960d415',
'application/vnd.oasis.opendocument.presentation' => '7a4abd3a-89ec-53e9-b29d-64c6e2dcdaf4',
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/MimeInfo/Simple.pm view on Meta::CPAN
kar: audio/midi
karbon: application/x-karbon
kcm: application/vnd.nervana
kdc: image/x-kodak-kdc
kdelnk: application/x-desktop
kfo: application/x-kformula
kia: application/vnd.kidspiration
kil: application/x-killustrator
kino: application/smil
kne: application/vnd.Kinar
knp: application/vnd.Kinar
lib/File/MimeInfo/Simple.pm view on Meta::CPAN
obj: application/x-tgif
ocl: text/x-ocl
oda: application/oda
odb: application/vnd.oasis.opendocument.database
odc: application/vnd.oasis.opendocument.chart
odf: application/vnd.oasis.opendocument.formula
odg: application/vnd.oasis.opendocument.graphics
odi: application/vnd.oasis.opendocument.image
odm: application/vnd.oasis.opendocument.text-master
odp: application/vnd.oasis.opendocument.presentation
ods: application/vnd.oasis.opendocument.spreadsheet
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Overwrite.pm view on Meta::CPAN
=head1 SYNOPSIS
use File::Overwrite qw(overwrite);
# haha, now no-one will know I stole it
overwrite('sekrit_formular.txt');
unlink('sekrit_formular.txt');
=head1 DESCRIPTION
This module provides a few simple functions for overwriting data files. This
will protect against the simplest forms of file recovery.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
Forgot to include File::Temp under PREREQ_PM in Makefile.PL.
0.02 Sat Nov 12 21:15:00 2005
Reformulated in response to feedback on 0.01 from Michael Graham. First
general release version. lib/File/Save/Home.pm exports seven functions on
request:
get_home_directory
get_subhome_directory_status
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/Sticker/Database.pm view on Meta::CPAN
} # _add_tag_prefixes
=head2 _do_one_col_query
Do a SELECT query, and return the first column of results.
This is a freeform query, so the caller must be careful to formulate it correctly.
my $results = $self->_do_one_col_query($query);
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
t/File/File/Package.pm view on Meta::CPAN
# The Perl authorities have Core::die locked down tight so
# it is next to impossible to trap off of Core::die. Lucky
# must everyone uses Carp::croak instead of just dieing.
#
# Anyway, get the benefit of a lot of stack gyrations to
# formulate the correct error msg by Exporter::import.
#
$error = '';
no warnings;
*Carp::carp = sub {
$error .= (join '', @_);
view all matches for this distribution
view release on metacpan or search on metacpan
easyxs/README.md view on Meta::CPAN
detail.
EasyXS defines an `exs_sv_type` macro that takes an SV as argument
and returns a member of `enum exs_sv_type_e` (typedefâd as just
`exs_sv_type_e`; see `easyxs_scalar.h` for values). The logic is compatible
with the serialization logic formulated during Perl 5.36âs development cycle.
## SV/Number Conversion
### `UV* exs_SvUV(SV* sv)`
view all matches for this distribution