perl-Strict-Perl-2017.05-alt1.noarch.rpm


Advertisement

Description

perl-Strict-Perl - Perl module to restrict old/unsafe constructs

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Strict-Perl
Package version 2017.05
Package release alt1
Package architecture noarch
Package type rpm
Installed size 14.75 KB
Download size 14.75 KB
Official Mirror ftp.altlinux.org
Strict::Perl provides a restricted scripting environment excluding old/unsafe
constructs, on both modern Perl and traditional Perl.
Strict::Perl works in concert with Fake::Our if Fake::Our is used in your
script.
Version specify is required when use Strict::Perl, like;
use Strict::Perl 2014.05;
It's die if specified version doesn't match Strict::Perl's version.
On Perl 5.010001 or later, Strict::Perl works as;
use strict;
use warnings qw(FATAL all);
use Fatal qw(
seek sysseek
dbmclose dbmopen
binmode close chmod chown fcntl flock ioctl open sysopen truncate
chdir closedir opendir link mkdir readlink rename rmdir symlink
pipe
msgctl msgget msgrcv msgsnd
semctl semget semop
shmctl shmget shmread
accept bind connect getsockopt listen recv send setsockopt shutdown socketpair
fork
);
use autodie qw(
read sysread syswrite
fileno
);
On Perl 5.006 or later,
use strict;
use warnings qw(FATAL all);
use Fatal qw(
seek sysseek
dbmclose dbmopen
binmode close chmod chown fcntl flock ioctl open sysopen truncate
chdir closedir opendir link mkdir readlink rename rmdir symlink
pipe
msgctl msgget msgrcv msgsnd
semctl semget semop
shmctl shmget shmread
accept bind connect getsockopt listen recv send setsockopt shutdown socketpair
fork
);
On Perl 5.00503 or later,
use strict;
$^W = 1;
$SIG{__WARN__} = sub { die "$_[0]\n" };
use Fatal qw(
seek sysseek
dbmclose dbmopen
binmode close chmod chown fcntl flock ioctl open sysopen truncate
chdir closedir opendir link mkdir readlink rename rmdir symlink
pipe
msgctl msgget msgrcv msgsnd
semctl semget semop
shmctl shmget shmread
accept bind connect getsockopt listen recv send setsockopt shutdown socketpair
fork
);
Prohibited Keywords in your script are;
goto  redo  until  foreach
format  write  formline
msgctl  msgget  msgrcv  msgsnd
semctl  semget  semop
shmctl  shmget  shmread  shmwrite
given  when
Prohibited Special Variables are;
$ARRAY_BASE                        $[
$OFMT                              $#
@F
$^H
$OUTPUT_FIELD_SEPARATOR   $OFS     $,
$OUTPUT_RECORD_SEPARATOR  $ORS     $\
$LIST_SEPARATOR                    $"
$SUBSCRIPT_SEPARATOR      $SUBSEP  $;
$MULTILINE_MATCHING                $*
$PREMATCH                          $`
$MATCH                             $&
$POSTMATCH                         $'
$FORMAT_PAGE_NUMBER                $%
$FORMAT_LINES_PER_PAGE             $=
$FORMAT_LINES_LEFT                 $-
$FORMAT_NAME                       $~
$FORMAT_TOP_NAME                   $^
$FORMAT_LINE_BREAK_CHARACTERS      $:
$FORMAT_FORMFEED                   $^L
$ACCUMULATOR                       $^A
Prohibited Operator is;
~~ (smartmatch)
Must Keyword in your script is;
VERSION
Be useful software for you!

Alternatives

Package Version Architecture Repository
perl-Strict-Perl - - -

Requires

Name Value
/usr/share/perl5 -
perl(autodie.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Strict/Perl.pm) = 2017.050
perl-Strict-Perl = 2017.05-alt1

Download

Type URL
Binary Package perl-Strict-Perl-2017.05-alt1.noarch.rpm
Source Package perl-Strict-Perl-2017.05-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Strict-Perl rpm package:
    # sudo apt-get install perl-Strict-Perl

Files

Path
/usr/share/doc/perl-Strict-Perl-2017.05/Changes
/usr/share/doc/perl-Strict-Perl-2017.05/README
/usr/share/perl5/Strict/Perl.pm

See Also

Package Description
perl-String-Alignment-0.01-alt1.noarch.rpm perl module String-Alignment
perl-String-Any-Extensions-0.02-alt1.noarch.rpm Get extensions from string possible for files
perl-String-BOM-0.3-alt1.noarch.rpm simple utilities to check for a BOM and strip a BOM
perl-String-Bash-1.110960-alt1.noarch.rpm Parameter expansion in strings
perl-String-BlackWhiteList-1.100860-alt1.noarch.rpm Match a string against a blacklist and a whitelist
perl-String-Blender-0.04-alt1.noarch.rpm flexible vocabulary-based generator of compound words (e.g. domain names)
perl-String-Boolean-0.02-alt1.noarch.rpm perl module String-Boolean
perl-String-BooleanSimple-0.026-alt1.noarch.rpm Gets the boolean representative of a string
perl-String-Buffer-0.05-alt1.noarch.rpm perl module String-Buffer
perl-String-BufferStack-1.16-alt1_9.noarch.rpm Nested buffers for templating systems
perl-String-CRC-Cksum-0.91-alt2_7.noarch.rpm Perl extension for calculating checksums
perl-String-CamelSnakeKebab-0.06-alt1.noarch.rpm word case conversion
perl-String-Canonical-1.2-alt1.noarch.rpm perl module String-Canonical
perl-String-CaseProfile-0.18-alt1.noarch.rpm Get/Set the letter case profile of a string
perl-String-Checker-0.03-alt1.noarch.rpm perl module String-Checker
Advertisement
Advertisement