https://github.com/razerm/docker-perl-repl
Perl docker container with Devel::REPL
https://github.com/razerm/docker-perl-repl
Last synced: 3 months ago
JSON representation
Perl docker container with Devel::REPL
- Host: GitHub
- URL: https://github.com/razerm/docker-perl-repl
- Owner: RazerM
- Created: 2017-04-26T21:35:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T23:15:26.000Z (about 8 years ago)
- Last Synced: 2025-01-29T15:35:15.236Z (4 months ago)
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
By default, the images start in the REPL, or you can run `sh` to use `cpanm` etc.
The REPL can be run explicitly with `re.pl`.
```
$ docker run --rm -it razerm/perl-repl sh
/ # cpanm DBI
--> Working on DBI
Fetching http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.636.tar.gz ... OK
Configuring DBI-1.636 ... OK
Building and testing DBI-1.636 ... OK
Successfully installed DBI-1.636
1 distribution installed
/ # re.pl
$ use DBI;
```The `slim` tag doesn't have build dependencies.
```
$ docker run --rm -it razerm/perl-repl:slim
$ my @names = ("Foo", "Bar", "Baz");
$VAR1 = 'Foo';
$VAR2 = 'Bar';
$VAR3 = 'Baz';
```