1 2345678910...
|
] def
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Now calculate mm and points
/mm { 72 mul 25.4 div} def
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Language: Perl LOC: 1790 SourceForge : cd-circle-print (project search) : .../cd-circle-print/cd-circleprint/perl/cd-label.pl
|
#!/usr/bin/perl -w
# $Id: calculate_cpr.pl,v 1.1 2006/02/21 21:06:31 jonasbn Exp $
use strict;
use Business::DK::CPR qw(calculate);
Language: Perl LOC: 9 Spider_cpan0001 : Business::DK::CPR (project search) : .../cpan0001/Business__DK__CPR/Business-DK-CPR-0.03/bin/calculate_cpr.pl
|
:-consult(util/findthird).
:-consult(util/findfifth).
:-consult(util/calculateinterval).
% chord_gender( +Chord, -Gender)
% Chord - chord we're interested in its gender
Language: Perl LOC: 34 BerliOS (SVN) : harmonia (project search) : .../harmonia/trunk/src/util/chordgender.pl
|
package mcoder::array::calculated;
our $VERSION = '0.01';
use strict;
Language: Perl LOC: 37 CPAN : mcoder (project search) : .../mcoder/lib/mcoder/array/calculated.pm
|
package mcoder::calculated;
our $VERSION = '0.03';
use strict;
Language: Perl LOC: 37 CPAN : mcoder (project search) : .../mcoder/mcoder/lib/mcoder/calculated.pm
|
# procedural way
use strict;
use SpringGraph qw(calculate_graph draw_graph);
warn "drawing image - procedural\n";
my %node = (
Language: Perl LOC: 18 CPAN : SpringGraph (project search) : .../s/SpringGraph/SpringGraph/examples/proc_style.pl
|
:-consult(core/interval).
:-consult(core/note).
% calculate_pitch( +Note1, +Interval, -Note2)
% Note1 - Base note.
% Interval - Given interval.
Language: Perl LOC: 97 BerliOS (SVN) : harmonia (project search) : .../harmonia/trunk/src/util/calculatepitch.pl
|
require Digest::MD5;
#-----------------------------------------------------------
# calculate md5sum of file
# requires: -
# parameter: file
Language: Perl LOC: 18 Spider_20090107_inc : JamDB (project search) : .../jamdb/jamdb-0.9.9/dbstuff/JamDB/Checksum.pm
|
($] >= 5.005) ? (
'AUTHOR' => 'Adam Kennedy (cpan@ali.as)',
'ABSTRACT' => 'Calculate windows/subsets/pages of arrays',
) : (),
);
Language: Perl LOC: 14 CPAN : Array__Window (project search) : .../Array-Window/Makefile.PL
|
my $gd = shift;
# and draw a cross through the box
my ($x1,$y1,$x2,$y2) = $self->calculate_boundaries(@_);
my $fg = $self->fgcolor;
$gd->line($x1,$y1,$x2,$y2,$fg);
Language: Perl LOC: 14 CPAN : Ace (project search) : .../AcePerl/Ace/Graphics/Glyph/crossbox.pm
|
VERSION_FROM => 'lib/Business/TPGPost.pm', # finds \$VERSION
AUTHOR => 'M. Blom (blom@cpan.org)',
ABSTRACT => 'Calculate Dutch (TPG Post) shipping costs',
PREREQ_PM => {
Business::TNTPost::NL => 0
Language: Perl LOC: 10 CPAN : Business__TPGPost (project search) : .../CPAN/b/Business-TPGPost/Business-TPGPost/Makefile.PL
|
WriteMakefile(
'NAME' => 'Win32::Uptime',
'ABSTRACT' => 'Calculate uptime for Win32 systems',
'AUTHOR' => 'Serguei Trouchelle <stro@railways.dp.ua>',
'VERSION_FROM' => 'Uptime.pm',
Language: Perl LOC: 15 CPAN : Win32::Uptime (project search) : .../CPAN/w/Win32-Uptime/Win32-Uptime/Makefile.PL
|
=head1 SYNOPSIS
use base 'Spreadsheet::Engine::Fn::investment';
sub calculate { ... }
=head1 DESCRIPTION
This provides a base class for spreadsheet functions that calculate
Language: Perl LOC: 35 Spider_cpan0001 : Spreadsheet::Engine (project search) : .../lib/Spreadsheet/Engine/Fn/investment.pm
|
sub result {
my $self = shift;
my $result = $self->calculate ? 1 : 0;
return Spreadsheet::Engine::Value->new(type => 'nl', value => $result);
}
Language: Perl LOC: 38 Spider_cpan0001 : Spreadsheet::Engine (project search) : .../lib/Spreadsheet/Engine/Fn/logical.pm
|
#
# Perl script to calculate the min, max, and avg of a list of numbers.
#
sub usage {
Language: Perl LOC: 62 Jxta : bench (project search) : .../bench/bench/performance/load/cal.pl
|
use Acme::Mahjong::Hand;
use Acme::Mahjong::Deck;
requires qw(calculate);
no Moose;
sub hand_create {
Language: Perl LOC: 13 Spider_cpan0001 : Acme::Mahjong (project search) : .../Acme-Mahjong-0.00001/lib/Acme/Mahjong/Rule.pm
|
VERSION_FROM => 'lib/Date/Chinese.pm', # finds $VERSION
AUTHOR => 'Rich Bowen (rbowen@rcbowen.com)',
ABSTRACT => 'Calculate dates in the Chinese calendar',
PREREQ_PM => {
Test::More => 0,
Language: Perl LOC: 10 CPAN : Date__Chinese (project search) : .../CPAN/d/Date-Chinese/Date-Chinese/Makefile.PL
|
# This package contains tax related functions:
#
# calculate_tax - calculates tax on subtotal
# apply_tax - sets $value to the tax value for the subtotal
# extract_tax - sets $value to the tax value on a tax-included subtotal
Language: Perl License: GPL (C) 2006 LOC: 32 SourceForge (SVN) : Ledger SMB (project search) : .../ledger-smb/trunk/LedgerSMB/Taxes/Simple.pm
|
@ISA = qw(Exporter);
@EXPORT_OK = qw(
calculate_birthday calculate_week calculate_month
_countback _266days _40weeks
);
Language: Perl LOC: 322 Spider_cpan0001 : Date::Pregnancy (project search) : .../Date__Pregnancy/Date-Pregnancy-0.03/lib/Date/Pregnancy.pm
|
@ISA = qw(Exporter);
@EXPORT_OK = qw(
calculate_birthday calculate_week calculate_month
_countback _266days _40weeks
);
Language: Perl LOC: 322 CPAN : Date__Pregnancy (project search) : .../Date-Pregnancy/Date-Pregnancy/lib/Date/Pregnancy.pm
|
sub singleTag { 1 }
=head2 I<$maths>->compile( )
Modifies a template with the data calculated.
=cut
sub compile {
Language: Perl LOC: 117 Spider_cpan0001 : Template::Direct (project search) : .../Template-Direct-1.16/lib/Template/Direct/Maths.pm
|
my $field = $self->get_field(@event);
my $ref = { @data }->{ $field };
return ( $type, $self->calculate_sizes($ref), @data );
} else {
my @fields = $self->get_fields(@event);
Language: Perl LOC: 183 Spider_cpan0001 : Devel::Events::Filter::Size (project search) : .../lib/Devel/Events/Filter/Size.pm
|
:-consult(core/interval).
:-consult(core/note).
% calculate_interval( +Note1, +Note2, -Interval)
% Note1 - First note.
% Note2 - Second note.
Language: Perl LOC: 141 BerliOS (SVN) : harmonia (project search) : .../harmonia/trunk/src/util/calculateinterval.pl
|
use Bank::RMD;
my $calc = new Bank::RMD;
my $rmd = $calc->calculate( balance => '50000', ownerAge => 74, beneficiaryAge => 56 );
print "Calculating for a 74 year old owner and a 56 year old beneficiary with \$50,000 balance..\n\n";
print "Using return values:";
Language: Perl LOC: 22 CPAN : Bank__RMD (project search) : .../b/Bank-RMD/Bank-RMD/sample/rmdcalc.pl
|
use Bank::RMD;
my $calc = new Bank::RMD;
my $rmd = $calc->calculate( balance => '50000', ownerAge => 74, beneficiaryAge => 56 );
print "Calculating for a 74 year old owner and a 56 year old beneficiary with \$50,000 balance..\n\n";
print "Using return values:";
Language: Perl LOC: 22 Spider_cpan0001 : Bank::RMD (project search) : .../cpan0001/Bank__RMD/Bank-RMD/sample/rmdcalc.pl
|
1 2345678910...
|