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


Advertisement

Description

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

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

Requires

Provides

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

    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

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