Skip to content

Instantly share code, notes, and snippets.

@odanado
Last active Mar 13, 2020
Embed
What would you like to do?
perl.ipynb
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "perl.ipynb",
"provenance": [],
"collapsed_sections": [],
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/odanado/a8b5a504600804fea5bfc96f872f42ec/perl.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"metadata": {
"id": "WbkjlIAmiUNW",
"colab_type": "code",
"outputId": "efb9f2e9-7432-4ab9-e517-f611203df18f",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000
}
},
"source": [
"!apt install -yq perl cpanminus"
],
"execution_count": 1,
"outputs": [
{
"output_type": "stream",
"text": [
"Reading package lists...\n",
"Building dependency tree...\n",
"Reading state information...\n",
"perl is already the newest version (5.26.1-6ubuntu0.3).\n",
"perl set to manually installed.\n",
"The following additional packages will be installed:\n",
" libalgorithm-c3-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl\n",
" libclass-c3-perl libclass-c3-xs-perl libclass-method-modifiers-perl\n",
" libclass-xsaccessor-perl libcpan-changes-perl libcpan-distnameinfo-perl\n",
" libcpan-meta-check-perl libdata-optlist-perl libdata-perl-perl\n",
" libdata-section-perl libdevel-callchecker-perl\n",
" libdevel-globaldestruction-perl libdynaloader-functions-perl\n",
" libencode-locale-perl libexporter-tiny-perl libfile-pushd-perl\n",
" libfile-slurp-perl libgetopt-long-descriptive-perl libhtml-parser-perl\n",
" libhtml-tagset-perl libhttp-date-perl libhttp-message-perl\n",
" libimport-into-perl libio-html-perl libio-stringy-perl\n",
" liblist-moreutils-perl liblocal-lib-perl liblwp-mediatypes-perl\n",
" libmodule-build-perl libmodule-cpanfile-perl libmodule-implementation-perl\n",
" libmodule-runtime-perl libmodule-signature-perl libmoo-perl\n",
" libmoox-handlesvia-perl libmro-compat-perl libnamespace-autoclean-perl\n",
" libnamespace-clean-perl libpackage-stash-perl libpackage-stash-xs-perl\n",
" libparams-classify-perl libparams-util-perl libparams-validate-perl\n",
" libparse-pmfile-perl libpath-tiny-perl libpod-markdown-perl\n",
" libpod-readme-perl libreadonly-perl libref-util-perl libref-util-xs-perl\n",
" librole-tiny-perl libsoftware-license-perl libstrictures-perl\n",
" libstring-shellquote-perl libsub-exporter-perl\n",
" libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl\n",
" libsub-name-perl libsub-quote-perl libtext-template-perl libtimedate-perl\n",
" libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libunicode-utf8-perl\n",
" liburi-perl libvariable-magic-perl\n",
"Suggested packages:\n",
" libdata-dump-perl libscalar-number-perl libbareword-filehandles-perl\n",
" libindirect-perl libmultidimensional-perl libdevel-stacktrace-perl\n",
" libdevel-lexalias-perl libwww-perl\n",
"The following NEW packages will be installed:\n",
" cpanminus libalgorithm-c3-perl libb-hooks-endofscope-perl\n",
" libb-hooks-op-check-perl libclass-c3-perl libclass-c3-xs-perl\n",
" libclass-method-modifiers-perl libclass-xsaccessor-perl libcpan-changes-perl\n",
" libcpan-distnameinfo-perl libcpan-meta-check-perl libdata-optlist-perl\n",
" libdata-perl-perl libdata-section-perl libdevel-callchecker-perl\n",
" libdevel-globaldestruction-perl libdynaloader-functions-perl\n",
" libencode-locale-perl libexporter-tiny-perl libfile-pushd-perl\n",
" libfile-slurp-perl libgetopt-long-descriptive-perl libhtml-parser-perl\n",
" libhtml-tagset-perl libhttp-date-perl libhttp-message-perl\n",
" libimport-into-perl libio-html-perl libio-stringy-perl\n",
" liblist-moreutils-perl liblocal-lib-perl liblwp-mediatypes-perl\n",
" libmodule-build-perl libmodule-cpanfile-perl libmodule-implementation-perl\n",
" libmodule-runtime-perl libmodule-signature-perl libmoo-perl\n",
" libmoox-handlesvia-perl libmro-compat-perl libnamespace-autoclean-perl\n",
" libnamespace-clean-perl libpackage-stash-perl libpackage-stash-xs-perl\n",
" libparams-classify-perl libparams-util-perl libparams-validate-perl\n",
" libparse-pmfile-perl libpath-tiny-perl libpod-markdown-perl\n",
" libpod-readme-perl libreadonly-perl libref-util-perl libref-util-xs-perl\n",
" librole-tiny-perl libsoftware-license-perl libstrictures-perl\n",
" libstring-shellquote-perl libsub-exporter-perl\n",
" libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl\n",
" libsub-name-perl libsub-quote-perl libtext-template-perl libtimedate-perl\n",
" libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libunicode-utf8-perl\n",
" liburi-perl libvariable-magic-perl\n",
"0 upgraded, 72 newly installed, 0 to remove and 25 not upgraded.\n",
"Need to get 2,249 kB of archives.\n",
"After this operation, 6,883 kB of additional disk space will be used.\n",
"Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcpan-distnameinfo-perl all 0.12-1 [8,662 B]\n",
"Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcpan-meta-check-perl all 0.014-1 [7,594 B]\n",
"Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfile-pushd-perl all 1.014-1 [11.8 kB]\n",
"Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmodule-build-perl all 0.422400-1 [201 kB]\n",
"Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 liblocal-lib-perl all 2.000024-1 [46.1 kB]\n",
"Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmodule-cpanfile-perl all 1.1002-1 [23.8 kB]\n",
"Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libparse-pmfile-perl all 0.41-1 [14.2 kB]\n",
"Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libstring-shellquote-perl all 1.04-1 [12.0 kB]\n",
"Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 cpanminus all 1.7043-1 [58.0 kB]\n",
"Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libalgorithm-c3-perl all 0.10-1 [11.3 kB]\n",
"Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libb-hooks-op-check-perl amd64 0.22-1 [10.1 kB]\n",
"Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdynaloader-functions-perl all 0.003-1 [11.9 kB]\n",
"Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdevel-callchecker-perl amd64 0.007-2build1 [14.1 kB]\n",
"Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libparams-classify-perl amd64 0.015-1 [21.2 kB]\n",
"Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmodule-runtime-perl all 0.016-1 [16.2 kB]\n",
"Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtry-tiny-perl all 0.30-1 [20.5 kB]\n",
"Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmodule-implementation-perl all 0.09-1 [12.2 kB]\n",
"Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-exporter-progressive-perl all 0.001013-1 [6,784 B]\n",
"Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libvariable-magic-perl amd64 0.62-1 [34.5 kB]\n",
"Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libb-hooks-endofscope-perl all 0.21-1 [14.7 kB]\n",
"Get:21 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libclass-c3-perl all 0.33-1 [19.0 kB]\n",
"Get:22 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libclass-c3-xs-perl amd64 0.14-1build3 [15.8 kB]\n",
"Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 libclass-method-modifiers-perl all 2.12-1 [15.7 kB]\n",
"Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libclass-xsaccessor-perl amd64 1.19-2build8 [32.8 kB]\n",
"Get:25 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcpan-changes-perl all 0.400002-1 [32.0 kB]\n",
"Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libparams-util-perl amd64 1.07-3build3 [19.6 kB]\n",
"Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-install-perl all 0.928-1 [10.5 kB]\n",
"Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdata-optlist-perl all 0.110-1 [9,956 B]\n",
"Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libexporter-tiny-perl all 1.000000-2 [34.6 kB]\n",
"Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblist-moreutils-perl amd64 0.416-1build3 [55.5 kB]\n",
"Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 librole-tiny-perl all 2.000006-1 [15.9 kB]\n",
"Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 libstrictures-perl all 2.000003-1 [16.1 kB]\n",
"Get:33 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdata-perl-perl all 0.002009-2 [39.1 kB]\n",
"Get:34 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmro-compat-perl all 0.13-1 [11.2 kB]\n",
"Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-exporter-perl all 0.987-1 [44.9 kB]\n",
"Get:36 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdata-section-perl all 0.200007-1 [11.8 kB]\n",
"Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdevel-globaldestruction-perl all 0.14-1 [6,752 B]\n",
"Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]\n",
"Get:39 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfile-slurp-perl all 9999.19-6 [38.5 kB]\n",
"Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-stringy-perl all 2.111-2 [60.6 kB]\n",
"Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 libparams-validate-perl amd64 1.29-1 [52.3 kB]\n",
"Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgetopt-long-descriptive-perl all 0.102-1 [24.4 kB]\n",
"Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]\n",
"Get:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 liburi-perl all 1.73-1 [77.2 kB]\n",
"Get:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]\n",
"Get:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]\n",
"Get:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]\n",
"Get:48 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-html-perl all 1.001-1 [14.9 kB]\n",
"Get:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]\n",
"Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-message-perl all 6.14-1 [72.1 kB]\n",
"Get:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libimport-into-perl all 1.002005-1 [11.0 kB]\n",
"Get:52 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmodule-signature-perl all 0.81-1 [22.9 kB]\n",
"Get:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-quote-perl all 2.005000-1 [17.0 kB]\n",
"Get:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmoo-perl all 2.003004-1 [45.5 kB]\n",
"Get:55 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmoox-handlesvia-perl all 0.001008-3 [17.6 kB]\n",
"Get:56 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpackage-stash-perl all 0.37-1 [18.3 kB]\n",
"Get:57 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-identify-perl amd64 0.14-1 [10.5 kB]\n",
"Get:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsub-name-perl amd64 0.21-1build1 [11.6 kB]\n",
"Get:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnamespace-clean-perl all 0.27-1 [13.6 kB]\n",
"Get:60 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libnamespace-autoclean-perl all 0.28-1 [12.5 kB]\n",
"Get:61 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpackage-stash-xs-perl amd64 0.28-3build2 [16.4 kB]\n",
"Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpath-tiny-perl all 0.104-1 [55.3 kB]\n",
"Get:63 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libpod-markdown-perl all 3.005000-1 [27.9 kB]\n",
"Get:64 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtype-tiny-perl all 1.002001-1 [226 kB]\n",
"Get:65 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libpod-readme-perl all 1.1.2-2 [32.9 kB]\n",
"Get:66 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libreadonly-perl all 2.050-1 [19.8 kB]\n",
"Get:67 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libref-util-perl all 0.203-1 [14.8 kB]\n",
"Get:68 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libref-util-xs-perl amd64 0.116-1 [11.5 kB]\n",
"Get:69 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtext-template-perl all 1.47-1 [46.9 kB]\n",
"Get:70 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsoftware-license-perl all 0.103012-1 [108 kB]\n",
"Get:71 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtype-tiny-xs-perl amd64 0.012-2 [22.8 kB]\n",
"Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 libunicode-utf8-perl amd64 0.60-1build4 [17.9 kB]\n",
"Fetched 2,249 kB in 1s (2,681 kB/s)\n",
"Extracting templates from packages: 100%\n",
"Selecting previously unselected package libcpan-distnameinfo-perl.\n",
"(Reading database ... 134448 files and directories currently installed.)\n",
"Preparing to unpack .../00-libcpan-distnameinfo-perl_0.12-1_all.deb ...\n",
"Unpacking libcpan-distnameinfo-perl (0.12-1) ...\n",
"Selecting previously unselected package libcpan-meta-check-perl.\n",
"Preparing to unpack .../01-libcpan-meta-check-perl_0.014-1_all.deb ...\n",
"Unpacking libcpan-meta-check-perl (0.014-1) ...\n",
"Selecting previously unselected package libfile-pushd-perl.\n",
"Preparing to unpack .../02-libfile-pushd-perl_1.014-1_all.deb ...\n",
"Unpacking libfile-pushd-perl (1.014-1) ...\n",
"Selecting previously unselected package libmodule-build-perl.\n",
"Preparing to unpack .../03-libmodule-build-perl_0.422400-1_all.deb ...\n",
"Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'\n",
"Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'\n",
"Unpacking libmodule-build-perl (0.422400-1) ...\n",
"Selecting previously unselected package liblocal-lib-perl.\n",
"Preparing to unpack .../04-liblocal-lib-perl_2.000024-1_all.deb ...\n",
"Unpacking liblocal-lib-perl (2.000024-1) ...\n",
"Selecting previously unselected package libmodule-cpanfile-perl.\n",
"Preparing to unpack .../05-libmodule-cpanfile-perl_1.1002-1_all.deb ...\n",
"Unpacking libmodule-cpanfile-perl (1.1002-1) ...\n",
"Selecting previously unselected package libparse-pmfile-perl.\n",
"Preparing to unpack .../06-libparse-pmfile-perl_0.41-1_all.deb ...\n",
"Unpacking libparse-pmfile-perl (0.41-1) ...\n",
"Selecting previously unselected package libstring-shellquote-perl.\n",
"Preparing to unpack .../07-libstring-shellquote-perl_1.04-1_all.deb ...\n",
"Unpacking libstring-shellquote-perl (1.04-1) ...\n",
"Selecting previously unselected package cpanminus.\n",
"Preparing to unpack .../08-cpanminus_1.7043-1_all.deb ...\n",
"Unpacking cpanminus (1.7043-1) ...\n",
"Selecting previously unselected package libalgorithm-c3-perl.\n",
"Preparing to unpack .../09-libalgorithm-c3-perl_0.10-1_all.deb ...\n",
"Unpacking libalgorithm-c3-perl (0.10-1) ...\n",
"Selecting previously unselected package libb-hooks-op-check-perl.\n",
"Preparing to unpack .../10-libb-hooks-op-check-perl_0.22-1_amd64.deb ...\n",
"Unpacking libb-hooks-op-check-perl (0.22-1) ...\n",
"Selecting previously unselected package libdynaloader-functions-perl.\n",
"Preparing to unpack .../11-libdynaloader-functions-perl_0.003-1_all.deb ...\n",
"Unpacking libdynaloader-functions-perl (0.003-1) ...\n",
"Selecting previously unselected package libdevel-callchecker-perl.\n",
"Preparing to unpack .../12-libdevel-callchecker-perl_0.007-2build1_amd64.deb ...\n",
"Unpacking libdevel-callchecker-perl (0.007-2build1) ...\n",
"Selecting previously unselected package libparams-classify-perl.\n",
"Preparing to unpack .../13-libparams-classify-perl_0.015-1_amd64.deb ...\n",
"Unpacking libparams-classify-perl (0.015-1) ...\n",
"Selecting previously unselected package libmodule-runtime-perl.\n",
"Preparing to unpack .../14-libmodule-runtime-perl_0.016-1_all.deb ...\n",
"Unpacking libmodule-runtime-perl (0.016-1) ...\n",
"Selecting previously unselected package libtry-tiny-perl.\n",
"Preparing to unpack .../15-libtry-tiny-perl_0.30-1_all.deb ...\n",
"Unpacking libtry-tiny-perl (0.30-1) ...\n",
"Selecting previously unselected package libmodule-implementation-perl.\n",
"Preparing to unpack .../16-libmodule-implementation-perl_0.09-1_all.deb ...\n",
"Unpacking libmodule-implementation-perl (0.09-1) ...\n",
"Selecting previously unselected package libsub-exporter-progressive-perl.\n",
"Preparing to unpack .../17-libsub-exporter-progressive-perl_0.001013-1_all.deb ...\n",
"Unpacking libsub-exporter-progressive-perl (0.001013-1) ...\n",
"Selecting previously unselected package libvariable-magic-perl.\n",
"Preparing to unpack .../18-libvariable-magic-perl_0.62-1_amd64.deb ...\n",
"Unpacking libvariable-magic-perl (0.62-1) ...\n",
"Selecting previously unselected package libb-hooks-endofscope-perl.\n",
"Preparing to unpack .../19-libb-hooks-endofscope-perl_0.21-1_all.deb ...\n",
"Unpacking libb-hooks-endofscope-perl (0.21-1) ...\n",
"Selecting previously unselected package libclass-c3-perl.\n",
"Preparing to unpack .../20-libclass-c3-perl_0.33-1_all.deb ...\n",
"Unpacking libclass-c3-perl (0.33-1) ...\n",
"Selecting previously unselected package libclass-c3-xs-perl.\n",
"Preparing to unpack .../21-libclass-c3-xs-perl_0.14-1build3_amd64.deb ...\n",
"Unpacking libclass-c3-xs-perl (0.14-1build3) ...\n",
"Selecting previously unselected package libclass-method-modifiers-perl.\n",
"Preparing to unpack .../22-libclass-method-modifiers-perl_2.12-1_all.deb ...\n",
"Unpacking libclass-method-modifiers-perl (2.12-1) ...\n",
"Selecting previously unselected package libclass-xsaccessor-perl.\n",
"Preparing to unpack .../23-libclass-xsaccessor-perl_1.19-2build8_amd64.deb ...\n",
"Unpacking libclass-xsaccessor-perl (1.19-2build8) ...\n",
"Selecting previously unselected package libcpan-changes-perl.\n",
"Preparing to unpack .../24-libcpan-changes-perl_0.400002-1_all.deb ...\n",
"Unpacking libcpan-changes-perl (0.400002-1) ...\n",
"Selecting previously unselected package libparams-util-perl.\n",
"Preparing to unpack .../25-libparams-util-perl_1.07-3build3_amd64.deb ...\n",
"Unpacking libparams-util-perl (1.07-3build3) ...\n",
"Selecting previously unselected package libsub-install-perl.\n",
"Preparing to unpack .../26-libsub-install-perl_0.928-1_all.deb ...\n",
"Unpacking libsub-install-perl (0.928-1) ...\n",
"Selecting previously unselected package libdata-optlist-perl.\n",
"Preparing to unpack .../27-libdata-optlist-perl_0.110-1_all.deb ...\n",
"Unpacking libdata-optlist-perl (0.110-1) ...\n",
"Selecting previously unselected package libexporter-tiny-perl.\n",
"Preparing to unpack .../28-libexporter-tiny-perl_1.000000-2_all.deb ...\n",
"Unpacking libexporter-tiny-perl (1.000000-2) ...\n",
"Selecting previously unselected package liblist-moreutils-perl.\n",
"Preparing to unpack .../29-liblist-moreutils-perl_0.416-1build3_amd64.deb ...\n",
"Unpacking liblist-moreutils-perl (0.416-1build3) ...\n",
"Selecting previously unselected package librole-tiny-perl.\n",
"Preparing to unpack .../30-librole-tiny-perl_2.000006-1_all.deb ...\n",
"Unpacking librole-tiny-perl (2.000006-1) ...\n",
"Selecting previously unselected package libstrictures-perl.\n",
"Preparing to unpack .../31-libstrictures-perl_2.000003-1_all.deb ...\n",
"Unpacking libstrictures-perl (2.000003-1) ...\n",
"Selecting previously unselected package libdata-perl-perl.\n",
"Preparing to unpack .../32-libdata-perl-perl_0.002009-2_all.deb ...\n",
"Unpacking libdata-perl-perl (0.002009-2) ...\n",
"Selecting previously unselected package libmro-compat-perl.\n",
"Preparing to unpack .../33-libmro-compat-perl_0.13-1_all.deb ...\n",
"Unpacking libmro-compat-perl (0.13-1) ...\n",
"Selecting previously unselected package libsub-exporter-perl.\n",
"Preparing to unpack .../34-libsub-exporter-perl_0.987-1_all.deb ...\n",
"Unpacking libsub-exporter-perl (0.987-1) ...\n",
"Selecting previously unselected package libdata-section-perl.\n",
"Preparing to unpack .../35-libdata-section-perl_0.200007-1_all.deb ...\n",
"Unpacking libdata-section-perl (0.200007-1) ...\n",
"Selecting previously unselected package libdevel-globaldestruction-perl.\n",
"Preparing to unpack .../36-libdevel-globaldestruction-perl_0.14-1_all.deb ...\n",
"Unpacking libdevel-globaldestruction-perl (0.14-1) ...\n",
"Selecting previously unselected package libencode-locale-perl.\n",
"Preparing to unpack .../37-libencode-locale-perl_1.05-1_all.deb ...\n",
"Unpacking libencode-locale-perl (1.05-1) ...\n",
"Selecting previously unselected package libfile-slurp-perl.\n",
"Preparing to unpack .../38-libfile-slurp-perl_9999.19-6_all.deb ...\n",
"Unpacking libfile-slurp-perl (9999.19-6) ...\n",
"Selecting previously unselected package libio-stringy-perl.\n",
"Preparing to unpack .../39-libio-stringy-perl_2.111-2_all.deb ...\n",
"Unpacking libio-stringy-perl (2.111-2) ...\n",
"Selecting previously unselected package libparams-validate-perl.\n",
"Preparing to unpack .../40-libparams-validate-perl_1.29-1_amd64.deb ...\n",
"Unpacking libparams-validate-perl (1.29-1) ...\n",
"Selecting previously unselected package libgetopt-long-descriptive-perl.\n",
"Preparing to unpack .../41-libgetopt-long-descriptive-perl_0.102-1_all.deb ...\n",
"Unpacking libgetopt-long-descriptive-perl (0.102-1) ...\n",
"Selecting previously unselected package libhtml-tagset-perl.\n",
"Preparing to unpack .../42-libhtml-tagset-perl_3.20-3_all.deb ...\n",
"Unpacking libhtml-tagset-perl (3.20-3) ...\n",
"Selecting previously unselected package liburi-perl.\n",
"Preparing to unpack .../43-liburi-perl_1.73-1_all.deb ...\n",
"Unpacking liburi-perl (1.73-1) ...\n",
"Selecting previously unselected package libhtml-parser-perl.\n",
"Preparing to unpack .../44-libhtml-parser-perl_3.72-3build1_amd64.deb ...\n",
"Unpacking libhtml-parser-perl (3.72-3build1) ...\n",
"Selecting previously unselected package libtimedate-perl.\n",
"Preparing to unpack .../45-libtimedate-perl_2.3000-2_all.deb ...\n",
"Unpacking libtimedate-perl (2.3000-2) ...\n",
"Selecting previously unselected package libhttp-date-perl.\n",
"Preparing to unpack .../46-libhttp-date-perl_6.02-1_all.deb ...\n",
"Unpacking libhttp-date-perl (6.02-1) ...\n",
"Selecting previously unselected package libio-html-perl.\n",
"Preparing to unpack .../47-libio-html-perl_1.001-1_all.deb ...\n",
"Unpacking libio-html-perl (1.001-1) ...\n",
"Selecting previously unselected package liblwp-mediatypes-perl.\n",
"Preparing to unpack .../48-liblwp-mediatypes-perl_6.02-1_all.deb ...\n",
"Unpacking liblwp-mediatypes-perl (6.02-1) ...\n",
"Selecting previously unselected package libhttp-message-perl.\n",
"Preparing to unpack .../49-libhttp-message-perl_6.14-1_all.deb ...\n",
"Unpacking libhttp-message-perl (6.14-1) ...\n",
"Selecting previously unselected package libimport-into-perl.\n",
"Preparing to unpack .../50-libimport-into-perl_1.002005-1_all.deb ...\n",
"Unpacking libimport-into-perl (1.002005-1) ...\n",
"Selecting previously unselected package libmodule-signature-perl.\n",
"Preparing to unpack .../51-libmodule-signature-perl_0.81-1_all.deb ...\n",
"Unpacking libmodule-signature-perl (0.81-1) ...\n",
"Selecting previously unselected package libsub-quote-perl.\n",
"Preparing to unpack .../52-libsub-quote-perl_2.005000-1_all.deb ...\n",
"Unpacking libsub-quote-perl (2.005000-1) ...\n",
"Selecting previously unselected package libmoo-perl.\n",
"Preparing to unpack .../53-libmoo-perl_2.003004-1_all.deb ...\n",
"Unpacking libmoo-perl (2.003004-1) ...\n",
"Selecting previously unselected package libmoox-handlesvia-perl.\n",
"Preparing to unpack .../54-libmoox-handlesvia-perl_0.001008-3_all.deb ...\n",
"Unpacking libmoox-handlesvia-perl (0.001008-3) ...\n",
"Selecting previously unselected package libpackage-stash-perl.\n",
"Preparing to unpack .../55-libpackage-stash-perl_0.37-1_all.deb ...\n",
"Unpacking libpackage-stash-perl (0.37-1) ...\n",
"Selecting previously unselected package libsub-identify-perl.\n",
"Preparing to unpack .../56-libsub-identify-perl_0.14-1_amd64.deb ...\n",
"Unpacking libsub-identify-perl (0.14-1) ...\n",
"Selecting previously unselected package libsub-name-perl.\n",
"Preparing to unpack .../57-libsub-name-perl_0.21-1build1_amd64.deb ...\n",
"Unpacking libsub-name-perl (0.21-1build1) ...\n",
"Selecting previously unselected package libnamespace-clean-perl.\n",
"Preparing to unpack .../58-libnamespace-clean-perl_0.27-1_all.deb ...\n",
"Unpacking libnamespace-clean-perl (0.27-1) ...\n",
"Selecting previously unselected package libnamespace-autoclean-perl.\n",
"Preparing to unpack .../59-libnamespace-autoclean-perl_0.28-1_all.deb ...\n",
"Unpacking libnamespace-autoclean-perl (0.28-1) ...\n",
"Selecting previously unselected package libpackage-stash-xs-perl.\n",
"Preparing to unpack .../60-libpackage-stash-xs-perl_0.28-3build2_amd64.deb ...\n",
"Unpacking libpackage-stash-xs-perl (0.28-3build2) ...\n",
"Selecting previously unselected package libpath-tiny-perl.\n",
"Preparing to unpack .../61-libpath-tiny-perl_0.104-1_all.deb ...\n",
"Unpacking libpath-tiny-perl (0.104-1) ...\n",
"Selecting previously unselected package libpod-markdown-perl.\n",
"Preparing to unpack .../62-libpod-markdown-perl_3.005000-1_all.deb ...\n",
"Unpacking libpod-markdown-perl (3.005000-1) ...\n",
"Selecting previously unselected package libtype-tiny-perl.\n",
"Preparing to unpack .../63-libtype-tiny-perl_1.002001-1_all.deb ...\n",
"Unpacking libtype-tiny-perl (1.002001-1) ...\n",
"Selecting previously unselected package libpod-readme-perl.\n",
"Preparing to unpack .../64-libpod-readme-perl_1.1.2-2_all.deb ...\n",
"Unpacking libpod-readme-perl (1.1.2-2) ...\n",
"Selecting previously unselected package libreadonly-perl.\n",
"Preparing to unpack .../65-libreadonly-perl_2.050-1_all.deb ...\n",
"Unpacking libreadonly-perl (2.050-1) ...\n",
"Selecting previously unselected package libref-util-perl.\n",
"Preparing to unpack .../66-libref-util-perl_0.203-1_all.deb ...\n",
"Unpacking libref-util-perl (0.203-1) ...\n",
"Selecting previously unselected package libref-util-xs-perl.\n",
"Preparing to unpack .../67-libref-util-xs-perl_0.116-1_amd64.deb ...\n",
"Unpacking libref-util-xs-perl (0.116-1) ...\n",
"Selecting previously unselected package libtext-template-perl.\n",
"Preparing to unpack .../68-libtext-template-perl_1.47-1_all.deb ...\n",
"Unpacking libtext-template-perl (1.47-1) ...\n",
"Selecting previously unselected package libsoftware-license-perl.\n",
"Preparing to unpack .../69-libsoftware-license-perl_0.103012-1_all.deb ...\n",
"Unpacking libsoftware-license-perl (0.103012-1) ...\n",
"Selecting previously unselected package libtype-tiny-xs-perl.\n",
"Preparing to unpack .../70-libtype-tiny-xs-perl_0.012-2_amd64.deb ...\n",
"Unpacking libtype-tiny-xs-perl (0.012-2) ...\n",
"Selecting previously unselected package libunicode-utf8-perl.\n",
"Preparing to unpack .../71-libunicode-utf8-perl_0.60-1build4_amd64.deb ...\n",
"Unpacking libunicode-utf8-perl (0.60-1build4) ...\n",
"Setting up libhtml-tagset-perl (3.20-3) ...\n",
"Setting up libpath-tiny-perl (0.104-1) ...\n",
"Setting up libclass-c3-xs-perl (0.14-1build3) ...\n",
"Setting up libsub-install-perl (0.928-1) ...\n",
"Setting up libio-stringy-perl (2.111-2) ...\n",
"Setting up libcpan-distnameinfo-perl (0.12-1) ...\n",
"Setting up libsub-exporter-progressive-perl (0.001013-1) ...\n",
"Setting up libtry-tiny-perl (0.30-1) ...\n",
"Setting up libfile-slurp-perl (9999.19-6) ...\n",
"Setting up libclass-method-modifiers-perl (2.12-1) ...\n",
"Setting up libencode-locale-perl (1.05-1) ...\n",
"Setting up libvariable-magic-perl (0.62-1) ...\n",
"Setting up libtimedate-perl (2.3000-2) ...\n",
"Setting up librole-tiny-perl (2.000006-1) ...\n",
"Setting up libstring-shellquote-perl (1.04-1) ...\n",
"Setting up libb-hooks-op-check-perl (0.22-1) ...\n",
"Setting up libio-html-perl (1.001-1) ...\n",
"Setting up libexporter-tiny-perl (1.000000-2) ...\n",
"Setting up libmodule-cpanfile-perl (1.1002-1) ...\n",
"Setting up libtype-tiny-xs-perl (0.012-2) ...\n",
"Setting up libsub-identify-perl (0.14-1) ...\n",
"Setting up libref-util-perl (0.203-1) ...\n",
"Setting up libdynaloader-functions-perl (0.003-1) ...\n",
"Setting up libparse-pmfile-perl (0.41-1) ...\n",
"Setting up libfile-pushd-perl (1.014-1) ...\n",
"Setting up libcpan-meta-check-perl (0.014-1) ...\n",
"Setting up libpackage-stash-xs-perl (0.28-3build2) ...\n",
"Setting up libstrictures-perl (2.000003-1) ...\n",
"Setting up libmodule-signature-perl (0.81-1) ...\n",
"Setting up libreadonly-perl (2.050-1) ...\n",
"Setting up liblwp-mediatypes-perl (6.02-1) ...\n",
"Setting up libref-util-xs-perl (0.116-1) ...\n",
"Setting up liburi-perl (1.73-1) ...\n",
"Setting up libhtml-parser-perl (3.72-3build1) ...\n",
"Setting up libdevel-globaldestruction-perl (0.14-1) ...\n",
"Setting up libpod-markdown-perl (3.005000-1) ...\n",
"Setting up libclass-xsaccessor-perl (1.19-2build8) ...\n",
"Setting up libcpan-changes-perl (0.400002-1) ...\n",
"Setting up libunicode-utf8-perl (0.60-1build4) ...\n",
"Setting up libmodule-build-perl (0.422400-1) ...\n",
"Setting up libparams-util-perl (1.07-3build3) ...\n",
"Setting up libsub-name-perl (0.21-1build1) ...\n",
"Setting up libsub-quote-perl (2.005000-1) ...\n",
"Setting up libtext-template-perl (1.47-1) ...\n",
"Setting up libalgorithm-c3-perl (0.10-1) ...\n",
"Setting up libclass-c3-perl (0.33-1) ...\n",
"Setting up liblocal-lib-perl (2.000024-1) ...\n",
"Setting up liblist-moreutils-perl (0.416-1build3) ...\n",
"Setting up libdata-optlist-perl (0.110-1) ...\n",
"Setting up libhttp-date-perl (6.02-1) ...\n",
"Setting up libtype-tiny-perl (1.002001-1) ...\n",
"Setting up libdevel-callchecker-perl (0.007-2build1) ...\n",
"Setting up cpanminus (1.7043-1) ...\n",
"Setting up libmro-compat-perl (0.13-1) ...\n",
"Setting up libsub-exporter-perl (0.987-1) ...\n",
"Setting up libhttp-message-perl (6.14-1) ...\n",
"Setting up libparams-classify-perl (0.015-1) ...\n",
"Setting up libdata-section-perl (0.200007-1) ...\n",
"Setting up libmodule-runtime-perl (0.016-1) ...\n",
"Setting up libsoftware-license-perl (0.103012-1) ...\n",
"Setting up libdata-perl-perl (0.002009-2) ...\n",
"Setting up libimport-into-perl (1.002005-1) ...\n",
"Setting up libmodule-implementation-perl (0.09-1) ...\n",
"Setting up libparams-validate-perl (1.29-1) ...\n",
"Setting up libmoo-perl (2.003004-1) ...\n",
"Setting up libb-hooks-endofscope-perl (0.21-1) ...\n",
"Setting up libpackage-stash-perl (0.37-1) ...\n",
"Setting up libgetopt-long-descriptive-perl (0.102-1) ...\n",
"Setting up libmoox-handlesvia-perl (0.001008-3) ...\n",
"Setting up libnamespace-clean-perl (0.27-1) ...\n",
"Setting up libnamespace-autoclean-perl (0.28-1) ...\n",
"Setting up libpod-readme-perl (1.1.2-2) ...\n",
"Processing triggers for man-db (2.8.3-2ubuntu0.1) ...\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "GL8PsI9iit_q",
"colab_type": "code",
"outputId": "dde79bb4-2450-4a2c-ff46-1102e9e61810",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000
}
},
"source": [
"!cpanm --notest DDP\n",
"!cpanm --notest Data::Validator\n",
"!cpanm --notest Test::Spec\n",
"!cpanm --notest List::AllUtils"
],
"execution_count": 2,
"outputs": [
{
"output_type": "stream",
"text": [
"--> Working on DDP\n",
"Fetching http://www.cpan.org/authors/id/G/GA/GARU/Data-Printer-0.40.tar.gz ... OK\n",
"Configuring Data-Printer-0.40 ... OK\n",
"==> Found dependencies: File::HomeDir, Clone::PP, Sort::Naturally\n",
"--> Working on File::HomeDir\n",
"Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/File-HomeDir-1.004.tar.gz ... OK\n",
"Configuring File-HomeDir-1.004 ... OK\n",
"==> Found dependencies: File::Which\n",
"--> Working on File::Which\n",
"Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/File-Which-1.23.tar.gz ... OK\n",
"Configuring File-Which-1.23 ... OK\n",
"Building File-Which-1.23 ... OK\n",
"Successfully installed File-Which-1.23\n",
"Building File-HomeDir-1.004 ... OK\n",
"Successfully installed File-HomeDir-1.004\n",
"--> Working on Clone::PP\n",
"Fetching http://www.cpan.org/authors/id/N/NE/NEILB/Clone-PP-1.07.tar.gz ... OK\n",
"Configuring Clone-PP-1.07 ... OK\n",
"Building Clone-PP-1.07 ... OK\n",
"Successfully installed Clone-PP-1.07\n",
"--> Working on Sort::Naturally\n",
"Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/Sort-Naturally-1.03.tar.gz ... OK\n",
"Configuring Sort-Naturally-1.03 ... OK\n",
"Building Sort-Naturally-1.03 ... OK\n",
"Successfully installed Sort-Naturally-1.03\n",
"Building Data-Printer-0.40 ... OK\n",
"Successfully installed Data-Printer-0.40\n",
"5 distributions installed\n",
"--> Working on Data::Validator\n",
"Fetching http://www.cpan.org/authors/id/G/GF/GFUJI/Data-Validator-1.07.tar.gz ... OK\n",
"Configuring Data-Validator-1.07 ... OK\n",
"==> Found dependencies: Mouse\n",
"--> Working on Mouse\n",
"Fetching http://www.cpan.org/authors/id/S/SK/SKAJI/Mouse-v2.5.9.tar.gz ... OK\n",
"==> Found dependencies: Devel::PPPort, Module::Build::XSUtil\n",
"--> Working on Devel::PPPort\n",
"Fetching http://www.cpan.org/authors/id/A/AT/ATOOMIC/Devel-PPPort-3.58.tar.gz ... OK\n",
"Configuring Devel-PPPort-3.58 ... OK\n",
"Building Devel-PPPort-3.58 ... OK\n",
"Successfully installed Devel-PPPort-3.58 (upgraded from 3.35)\n",
"--> Working on Module::Build::XSUtil\n",
"Fetching http://www.cpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-0.19.tar.gz ... OK\n",
"Configuring Module-Build-XSUtil-0.19 ... OK\n",
"==> Found dependencies: Devel::CheckCompiler\n",
"--> Working on Devel::CheckCompiler\n",
"Fetching http://www.cpan.org/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.07.tar.gz ... OK\n",
"==> Found dependencies: Module::Build::Tiny\n",
"--> Working on Module::Build::Tiny\n",
"Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz ... OK\n",
"==> Found dependencies: ExtUtils::InstallPaths, ExtUtils::Config, ExtUtils::Helpers\n",
"--> Working on ExtUtils::InstallPaths\n",
"Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz ... OK\n",
"Configuring ExtUtils-InstallPaths-0.012 ... OK\n",
"==> Found dependencies: ExtUtils::Config\n",
"--> Working on ExtUtils::Config\n",
"Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.008.tar.gz ... OK\n",
"Configuring ExtUtils-Config-0.008 ... OK\n",
"Building ExtUtils-Config-0.008 ... OK\n",
"Successfully installed ExtUtils-Config-0.008\n",
"Building ExtUtils-InstallPaths-0.012 ... OK\n",
"Successfully installed ExtUtils-InstallPaths-0.012\n",
"--> Working on ExtUtils::Helpers\n",
"Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK\n",
"Configuring ExtUtils-Helpers-0.026 ... OK\n",
"Building ExtUtils-Helpers-0.026 ... OK\n",
"Successfully installed ExtUtils-Helpers-0.026\n",
"Configuring Module-Build-Tiny-0.039 ... OK\n",
"Building Module-Build-Tiny-0.039 ... OK\n",
"Successfully installed Module-Build-Tiny-0.039\n",
"Configuring Devel-CheckCompiler-0.07 ... OK\n",
"Building Devel-CheckCompiler-0.07 ... OK\n",
"Successfully installed Devel-CheckCompiler-0.07\n",
"Building Module-Build-XSUtil-0.19 ... OK\n",
"Successfully installed Module-Build-XSUtil-0.19\n",
"Configuring Mouse-v2.5.9 ... OK\n",
"Building Mouse-v2.5.9 ... OK\n",
"Successfully installed Mouse-v2.5.9\n",
"Building Data-Validator-1.07 ... OK\n",
"Successfully installed Data-Validator-1.07\n",
"9 distributions installed\n",
"--> Working on Test::Spec\n",
"Fetching http://www.cpan.org/authors/id/A/AK/AKZHAN/Test-Spec-0.54.tar.gz ... OK\n",
"Configuring Test-Spec-0.54 ... OK\n",
"==> Found dependencies: Test::Trap, Tie::IxHash, Test::Deep, Devel::GlobalPhase\n",
"--> Working on Test::Trap\n",
"Fetching http://www.cpan.org/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.3.4.tar.gz ... OK\n",
"Configuring Test-Trap-v0.3.4 ... OK\n",
"==> Found dependencies: Data::Dump\n",
"--> Working on Data::Dump\n",
"Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz ... OK\n",
"Configuring Data-Dump-1.23 ... OK\n",
"Building Data-Dump-1.23 ... OK\n",
"Successfully installed Data-Dump-1.23\n",
"Building Test-Trap-v0.3.4 ... OK\n",
"Successfully installed Test-Trap-v0.3.4\n",
"--> Working on Tie::IxHash\n",
"Fetching http://www.cpan.org/authors/id/C/CH/CHORNY/Tie-IxHash-1.23.tar.gz ... OK\n",
"Configuring Tie-IxHash-1.23 ... OK\n",
"Building Tie-IxHash-1.23 ... OK\n",
"Successfully installed Tie-IxHash-1.23\n",
"--> Working on Test::Deep\n",
"Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-1.130.tar.gz ... OK\n",
"Configuring Test-Deep-1.130 ... OK\n",
"Building Test-Deep-1.130 ... OK\n",
"Successfully installed Test-Deep-1.130\n",
"--> Working on Devel::GlobalPhase\n",
"Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Devel-GlobalPhase-0.003003.tar.gz ... OK\n",
"Configuring Devel-GlobalPhase-0.003003 ... OK\n",
"Building Devel-GlobalPhase-0.003003 ... OK\n",
"Successfully installed Devel-GlobalPhase-0.003003\n",
"Building Test-Spec-0.54 ... OK\n",
"Successfully installed Test-Spec-0.54\n",
"6 distributions installed\n",
"--> Working on List::AllUtils\n",
"Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-0.16.tar.gz ... OK\n",
"Configuring List-AllUtils-0.16 ... OK\n",
"==> Found dependencies: List::UtilsBy, List::SomeUtils\n",
"--> Working on List::UtilsBy\n",
"Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/List-UtilsBy-0.11.tar.gz ... OK\n",
"Configuring List-UtilsBy-0.11 ... OK\n",
"Building List-UtilsBy-0.11 ... OK\n",
"Successfully installed List-UtilsBy-0.11\n",
"--> Working on List::SomeUtils\n",
"Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-0.58.tar.gz ... OK\n",
"Configuring List-SomeUtils-0.58 ... OK\n",
"==> Found dependencies: List::SomeUtils::XS\n",
"--> Working on List::SomeUtils::XS\n",
"Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-XS-0.58.tar.gz ... OK\n",
"Configuring List-SomeUtils-XS-0.58 ... OK\n",
"Building List-SomeUtils-XS-0.58 ... OK\n",
"Successfully installed List-SomeUtils-XS-0.58\n",
"Building List-SomeUtils-0.58 ... OK\n",
"Successfully installed List-SomeUtils-0.58\n",
"Building List-AllUtils-0.16 ... OK\n",
"Successfully installed List-AllUtils-0.16\n",
"4 distributions installed\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "TfICfT4SizFz",
"colab_type": "code",
"outputId": "7b637850-6c58-4a95-8e6a-2870612839f4",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
}
},
"source": [
"%%writefile main.pl\n",
"print \"hello colab!\\n\";"
],
"execution_count": 3,
"outputs": [
{
"output_type": "stream",
"text": [
"Writing main.pl\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "A0MoYlR6j0UJ",
"colab_type": "code",
"outputId": "0559632f-0540-4bc9-a5a5-a4ab8f963638",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
}
},
"source": [
"!perl main.pl"
],
"execution_count": 4,
"outputs": [
{
"output_type": "stream",
"text": [
"hello colab!\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "CnXjwI-rj1YM",
"colab_type": "code",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 391
},
"outputId": "387572f6-4e2c-431e-efb6-25cf0e6bb4ee"
},
"source": [
"!cpanm --notest -q SQL::Maker::Condition"
],
"execution_count": 5,
"outputs": [
{
"output_type": "stream",
"text": [
"Successfully installed DBI-1.643\n",
"Successfully installed Test-Requires-0.10\n",
"Successfully installed Dist-CheckConflicts-0.11\n",
"Successfully installed Devel-StackTrace-2.04\n",
"Successfully installed XString-0.002\n",
"Successfully installed Test-Fatal-0.014\n",
"Successfully installed Eval-Closure-0.14\n",
"Successfully installed Specio-0.45\n",
"Successfully installed Class-Data-Inheritable-0.08\n",
"Successfully installed Exception-Class-1.44\n",
"Successfully installed Params-ValidationCompiler-0.30\n",
"Successfully installed Class-Singleton-1.5\n",
"Successfully installed DateTime-TimeZone-2.38\n",
"Successfully installed File-ShareDir-Install-0.13\n",
"Successfully installed Class-Inspector-1.36\n",
"Successfully installed File-ShareDir-1.116\n",
"Successfully installed DateTime-Locale-1.25\n",
"Successfully installed DateTime-1.52\n",
"Successfully installed SQL-QueryMaker-0.03\n",
"Successfully installed Class-Accessor-Lite-0.08\n",
"Successfully installed SQL-Maker-1.21\n",
"21 distributions installed\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "LJqRz6rTjugc",
"colab_type": "code",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"outputId": "576afde3-fd1f-495f-b492-87106510552e"
},
"source": [
"%%writefile main.pl\n",
"use SQL::Maker::Condition;\n",
"my $condition = SQL::Maker::Condition->new(\n",
" name_sep => '.',\n",
" quote_char => '`',\n",
");\n",
"\n",
"$condition->add('threshold' => [\n",
" '-and',\n",
" +{ between => [10, 20] },\n",
" +{ 'NOT IN' => (10) },\n",
"]);\n",
"\n",
"print $condition->as_sql();"
],
"execution_count": 21,
"outputs": [
{
"output_type": "stream",
"text": [
"Overwriting main.pl\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "JwfwkupjkQqg",
"colab_type": "code",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 34
},
"outputId": "e3313844-2eda-41c9-82c3-a889ed22fc38"
},
"source": [
"!perl main.pl"
],
"execution_count": 22,
"outputs": [
{
"output_type": "stream",
"text": [
"((`threshold` BETWEEN ? AND ?) AND (`threshold` NOT IN ?))"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "b9qBQ629kZWT",
"colab_type": "code",
"colab": {}
},
"source": [
""
],
"execution_count": 0,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment