view release on metacpan or search on metacpan
Examples/addpclt.pl view on Meta::CPAN
require 'ttfmod.pl';
use Getopt::Std;
do getopts("d:z");
$[ = 0;
if ((defined $opt_d && !defined $ARGV[0]) || (!defined $opt_d && !defined $ARGV[1]))
{
die 'ADDPCLT [-d directory] [-z] <infile> <outfile>
v1.0.0, 18-Mar-1998 (c) Martin_Hosken@sil.org
view all matches for this distribution
view release on metacpan or search on metacpan
devel/array-base.t view on Meta::CPAN
Gtk2::major_version(), ".",
Gtk2::minor_version(), ".",
Gtk2::micro_version(), ".");
$[ = 6;
my $store = Gtk2::ListStore->new ('Glib::String');
$store->set ($store->insert(0), 0=>'zero');
$store->set ($store->insert(1), 0=>'one');
$store->set ($store->insert(2), 0=>'two');
view all matches for this distribution
view release on metacpan or search on metacpan
t/html-dom.t view on Meta::CPAN
$doc->close;
{
no warnings 'deprecated';
local $[ = 1;
use warnings 'deprecated';
my @p_tags = $doc->body->childNodes;
for(1..6){
is $p_tags[$_]->tagName, 'P',
"body\'s child node no. $_ is a P elem";
view all matches for this distribution
view release on metacpan or search on metacpan
SoundFont.pm view on Meta::CPAN
eval 'require File::Format::RIFF';
if ($@) {
die "you need to install the File::Format::RIFF module from www.cpan.org\n";
}
# local $[ = 0; # SoundFont indexes start at zero but setting $[ is deprecated
my %SampleName = (); # to avoid duplicating sample-names...
# ----------------------- exportable constants -----------------------
@GeneratorOperators = qw(
startAddrsOffset endAddrsOffset startloopAddrsOffset endloopAddrsOffset
view all matches for this distribution
view release on metacpan or search on metacpan
+ objects/numbers now can have a local accuracy/precision
internal fixes:
+ uses a blessed hash ref instead scalar ref (easier subclassable)
+ my instead of local
+ use strict and -w
+ s/$[/0/ (after all, $[ = 1; in main does not effect this package)
+ $# partially removed ($#y is scalar @y -1, $#$y is scalar @$y-1 - ugh!)
+ added LICENSE section and file
new stuff:
+ MBF: :constant works now
+ MBI: :constant picks up binary and hexadecimal constants
view all matches for this distribution
view release on metacpan or search on metacpan
examples/three-body view on Meta::CPAN
&move (0,$maxrows-1);
exit 0;
sub dydt { my ($t, @y) = @_;
# t x0 y0 vx0 vy0 x1 y1 vx1 vy1 x2 y2 vx2 vy2
my @dydt; local $[=0;
$dydt[0] = $y[2]; $dydt[1] = $y[3];
$dydt[4] = $y[6]; $dydt[5] = $y[7];
$dydt[8] = $y[10]; $dydt[9] = $y[11];
view all matches for this distribution
view release on metacpan or search on metacpan
WalshTransform.pm view on Meta::CPAN
return undef;
} elsif (ref $yref ne 'ARRAY') { warn
"Math::WalshTransform::logical_convolution 2nd arg must be array ref\n";
return undef;
}
local $[ = 0;
my @x = @$xref; my @y = @$yref;
my $n = scalar @x;
my @z; $#z=$#x;
my $j; my $k; my $sum;
for ($k=$[; $k<=$#x; $k++) {
view all matches for this distribution
view release on metacpan or search on metacpan
t/year_imports.t view on Meta::CPAN
my $year = _get_year(shift);
my $warning = '';
local $SIG{__WARN__} = sub { $warning = shift };
if (eval qq|use Modern::Perl $year; \$[ = 10|) {
like $warning, qr/Use of assignment to \$\[ is deprecated/,
qq|use Modern::Perl $year disables array_base|;
}
else {
like $@, qr/Assigning non-zero to \$\[ is no longer possible/,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Net/SC.pm view on Meta::CPAN
use Config;
use Exporter;
use IO::Socket;
use MIME::Base64;
local $[ = 0;
($VERSION='$Revision: 1.21 $')=~s/^\S+\s+(\S+)\s+.*/$1/;
@ISA = qw( Exporter );
view all matches for this distribution
view release on metacpan or search on metacpan
PropertySet.pm view on Meta::CPAN
#
# -------------------------------- Defines --------------------------------
#
# global_definitions
$[=0;
# \05
%PPSET = (
"\05SummaryInformation" => {
TYPE => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
Basic/IO-FITS/t/m51.fits.fz view on Meta::CPAN
¶Q
2ÊÚ<Û]ÒE"MáTnÇùB`Yà<ÁóYI®h_Y-i;·ZAe¦gÉæÅCOw&_+aoÕÖ¼ÄØ»/ûòßÜ@§&ÒîjæÊÒlêúTå¥NDd¨JqmhXD´»±c;æ¼|H¥±ÉÕö¢î@>£»4³e\hÇkùÎñ#QKmÖ¬½É´49äÐl<aMzTÍ×JÉÏbãð!F´ÔhRàÍF7fzëVÌa0"ÉDòD#¡aÓ}¦ÐÕ{ãÃãOJzÏ© ...
pV¾°\SiÈ!'ÄÙôBÀ¢² ÅS_"{e·þÝ©ÊÎÚç·-ñòh°!EyQÒ|ÙI½äʱ3§)FSäèe©ZWª
ÍDy<Reµ³vP[Ãr.6^ñ2¯&¶¡óË3Ù$Ia@l½@Åà¤4
ABá©÷hq~=-²P³ÊÅmv¹8Q+¿MO"âëíɪ<¾²VªOeUü²IQÙYÖÙ
Ì®a1i¸ä1U
Àf¨òe.àÜsö1»oTWz5]¼F¡=M Úæi32" µlanjÀ)ªK »®-1çîëβt>eâ
Þ¹jå°þ
,ªíBßÚ($(Ä. ÌXZäã s¶ÈNè:Ìjñ¬~R$]1á-S@Kµ÷p5ª
m_Înd°]æVG§@ ¤Ìûó/rÏ #ºR«\ö3;8 7|I×#fñHÓ'+&NæîIt9ºY¦...
°O!QS¶¸ÉÙª<âé"¿ z=
¸ÜºÀf÷,ß)8AÞdèMR§R¤Z$JJksæí4fÕÑ9xøȽR¨ì©N~Z$O§¦¦^n-9ç¡~!!myO½Ê¸]FK7Ýä³bÔÖcõÅ{ÀQðð¨$FSSeûüvh%Z /ãþ4(ëÊJ&Â"¨ éçTðd àZ5NKÄ6L%§ÊåÏ öÉ;],rBªrÆ* H«IqÎEî/ÖfÜìFUÉÌüPÛ¤j1m»á¯øTÉCñö8ùµ}²°#HO¼Â(
R2...
ºeXP®«Û `mU7ä[ÌNüeµÓn0fÎ8]xHÏÃh;¯ZJ@¤6[ã^-$Fµeè×â¼Â02¹À¼NQlëAEÔñ3$)!A2üå"ȵK¥SÖSòà··"ÒAD.Q×`Ƨfí4t«(rZ¢íû°ûMæÃQ*û+ÝU#'³eCz
rH¦²¡á;»MeHí%rå5°#ï®4ªKdRJºÄ¬ÿàf 3ç` L¿£ÈgLmjÉÒ9~³%êlBlfD¢9]úP*2¦¸Ë)<j~¹Û¦s½ëàÒ×£áªBrOQ·eº> Û`íÓ£âÖTñ« âÍuÔÔ`jNF·9k.=Ö\¦Sg
KDquê .ªG¬ky4~.ú
¤Nx»R(
jLKûËj`§MÞ³f6K뻲lJ£ö¢6Y%ØB@ünFJR¸ØÀ...
a©Tú¡CÓWÜ¢ÁÎ4!a»Q°ð@h¦o}v$ßÒå6YWÿþ$FòU8u]xÀªg=LÞbìlãÞ+/DÕ!
` x«ÙæE¾$©Ríuc¶B ñÑi·k4_dÚÓ¹j<·=óRÂO'cßqrèT`óýÌ´WÚ.*`¿HÏ C39D¡ÚxLÙâjIÕëe$fhjþ[&^¾i¹RIÆH|JEP'Lí$ÉRÙ
rïÕËù$÷2¶6é)IèHµ9|CÃ"#T#²lqVN ...
b:CâY U.'²Ý¬Òü*}Ä.¡"ÍõQ_¶5=,+IK¦Ò3aÆTÇä)÷ÛoÍWk¤;za <aì§ú*KJòÑÝÌ¡¡ØPBÁ
OË}å3ÅüJÕô½ãqª·^MZ7@ïx¢L¨Üå =¸üÙ¯<`*°Óá"¦¹W´¶Ôh_CÏJ}B¾\k õ§2
view all matches for this distribution
view release on metacpan or search on metacpan
FR/perldiag.pod view on Meta::CPAN
(F) L'affectation de C<$[> est maintenant strictement réglementée, et
interprétée comme une directive du compilateur. Vous devez maintenant
seulement avoir une solution parmi celles-ciE<nbsp>:
$[ = 0;
$[ = 1;
...
local $[ = 0;
local $[ = 1;
...
Cela est pour prévenir le problème d'un module changeant la base du
tableau depuis un autre module par inadvertance. Voir L<perlvar/$[>.
view all matches for this distribution
view release on metacpan or search on metacpan
IT/perlfunc.pod view on Meta::CPAN
viene omesso, rimuove tutto da SCOSTAMENTO in poi. Se LUNGHEZZA E<egrave> negativo, rimuove
tutti gli elementi da SCOSTAMENTO in poi, tranne -LUNGHEZZA elementi alla fine dell'array. Se
sia SCOSTAMENTO che LUNGHEZZA vengono omessi, rimuove tutto. Se SCOSTAMENTO E<egrave> oltre la
fine dell'array, perl emette un avvertimento, e unisce alla fine dell'array.
Si hanno le seguenti equivalenze (assumendo C<< $[ == 0 e $#a >= $i >>):
push(@a,$x,$y) splice(@a,@a,0,$x,$y)
pop(@a) splice(@a,-1)
shift(@a) splice(@a,0,1)
unshift(@a,$x,$y) splice(@a,0,0,$x,$y)
view all matches for this distribution
view release on metacpan or search on metacpan
t/lex_arybase.t view on Meta::CPAN
BEGIN { $SIG{__WARN__} = sub { die "WARNING: $_[0]" }; }
my($env_0, $env_1, $env_2);
$env_0 = current_environment;
{ $[ = 1; $env_1 = current_environment; }
{ no warnings "void"; $[ = 2; $env_2 = current_environment; }
sub test_env($$$) {
my($env, $override, $expect) = @_;
@main::activity = ();
parse_perl($env, q{
}.(defined($override) ? "\$[ = $override;" : "").q{
push @main::activity, [ (qw(a b c d e))[3], $[ ];
})->();
is_deeply \@main::activity, $expect;
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/Community/DeprecatedFeatures.run view on Meta::CPAN
## name BadFeatures
## failures 51
## cut
$[ = 1;
my $x := 1;
UNIVERSAL->import;
use UNIVERSAL;
use UNIVERSAL 'foo';
for my $foo qw(foo bar) { ... }
view all matches for this distribution
view release on metacpan or search on metacpan
t/Freenode/DeprecatedFeatures.run view on Meta::CPAN
## name BadFeatures
## failures 51
## cut
$[ = 1;
my $x := 1;
UNIVERSAL->import;
use UNIVERSAL;
use UNIVERSAL 'foo';
for my $foo qw(foo bar) { ... }
view all matches for this distribution
view release on metacpan or search on metacpan
t/Policy/Variables/require_localized_punctuation_vars.t view on Meta::CPAN
local $) = ();
local $EFFECTIVE_GROUP_ID = ();
local $EGID = ();
local $0 = ();
local $PROGRAM_NAME = ();
local $[ = ();
local $] = ();
local $^A = ();
local $ACCUMULATOR = ();
local $^C = ();
local $COMPILING = ();
view all matches for this distribution