Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Classic::Perl 0.05

    Download button

    No screenshots available
    Downloads: 106  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Father Chrysostomos | More programs
    Perl Artistic License / FREE
    March 12th, 2012, 16:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Classic::Perl description

    Selectively reinstate deleted Perl features

    Classic::Perl is a Perl module that restores some Perl features that have been deleted in the latest versions. By 'classic' we mean as of Perl 5.8.x.

    The whole idea is that you can put use Classic::Perl at the top of an old script or module (or a new one, if you like the features that are out of vogue) and have it continue to work.

    In versions of Perl prior to 5.10, this module simply does nothing.

    SYNOPSIS

     use Classic::Perl;
     # or
     use Classic::Perl 'split';

     split //, "smat";
     print join " ", @_; # prints "s m a t"

     no Classic::Perl;
     @_ = ();
     split //, "smat";
     print join " ", @_;
     # prints "s m a t" in perl 5.10.x; nothing in 5.12

     use Classic::Perl '$[';
     $[ = 1;
     print qw(a b c d)[2]; # prints "b"

     use Classic::Perl '$*';
     $* = 1;
     print "yes\n" if "foo\nbar" =~ /^bar/; # prints yes



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl features | Perl module | Perl | features | class

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM