Sign inSign up

openeuler/perl

Sponsored OSS

By openeuler

•Updated 1 day ago

Image
0

639

openeuler/perl repository overview

⁠Quick reference

⁠Perl | openEuler

Current Perl docker images are built on the openEuler⁠. This repository is free to use and exempted from per-user rate limits.

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Its major features are that it's easy to use, supports both procedural and object-oriented (OO) programming, has powerful built-in support for text processing, and has one of the world's most impressive collections of third-party modules.

Learn more on The Perl Programming Language - www.perl.org⁠.

The tag of each Perl docker image is consist of the version of Perl and the version of basic image. The details are as follows

TagsCurrentlyArchitectures
5.45.4-oe2403sp4⁠perl 5.45.4 on openEuler 24.03-LTS-SP4amd64, arm64
5.45.3-oe2403sp4⁠perl 5.45.3 on openEuler 24.03-LTS-SP4amd64, arm64
5.45.2-oe2403sp4⁠perl 5.45.2 on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/perl image from docker

    docker pull openeuler/perl:{Tag}
    
  • Run a Perl one-liner

    docker run --rm openeuler/perl:{Tag} perl -e 'print "Hello, Perl!\n"'
    
  • Run a Perl script

    Create a file named hello.pl:

    print "Hello, Perl!\n";
    

    Then run it with the current directory mounted:

    docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp openeuler/perl:{Tag} perl hello.pl
    
  • Start an interactive Perl container

    docker run -it --name my-perl openeuler/perl:{Tag}
    
  • View container running logs

    docker logs -f my-perl
    
  • To get an interactive shell

    docker exec -it my-perl /bin/bash
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:d38291af2…

Size

86.4 MB

Last updated

1 day ago

docker pull openeuler/perl

This week's pulls

Pulls:

45

Last week