Showing revision 124

Writing Perl Modules

Basic module structure

sh: 1: pygmentize: not found

use strict;
use warnings;

package ProgArm;
our(%Keys);

@Keys{MyNewSub} = 'g';

sub MyNewSub {
    # Write your code here
}

Repeats

By default actions are called without any parameters, however repeat.pl will pass 1 or -1 to indicate repeat and negative repeat.

The longest way to detect negative repeat is to use

sh: 1: pygmentize: not found

if defined $_[0] and $_[0] == -1

You can shorten it to

sh: 1: pygmentize: not found

if ($_[0] // 0) == -1

However, it is much easier to use experimental smartmatch operator

sh: 1: pygmentize: not found

if $_[0] ~~ -1

Even though it is deprecated, all modules use smartmatch operator. You should use it too! (A simple sed command can easily change it in every module, that's why we ask you to respect consistency)

We can rewrite previous example to handle negative repeats:

sh: 1: pygmentize: not found

use strict;
use warnings;

package ProgArm;
our(%Keys);

@Keys{MyNewSub} = 'g';

sub MyNewSub {
    return MyNewSubNegative() if $_[0] ~~ -1;
    # Write your code here
}

sub MyNewSubNegative {
    # Write your code here
}

Comments:

ivermectin 2ml - <a href="https://ivermecti.com/">ivermectin medication</a> stromectol tablet 3 mg

-- Racraw 2021-08-20 12:48 UTC

ventolin inhalers - <a href="https://onventolinp.com/">ventolin price uk</a> ventolin cost canada

-- Aeelio 2021-08-22 09:08 UTC

misoprostol price - <a href="https://fastcytoteh.com/">cytotec tablets</a> buy cytotec online fast delivery

-- Ucbecn 2021-08-23 19:06 UTC

doxycycline 300 mg - <a href="https://doxycyclinegn.com/">doxycycline best price</a> doxycycline online usa

-- Zhxvyb 2021-08-25 05:50 UTC

neurontin capsules 100mg - <a href="https://neurontinpl.com/">where to buy neurontin</a> levothyroxine 75 mcg cheap

-- Wrxxnw 2021-08-26 17:38 UTC

sildenafil 200 mg online - buy sildenafil usa

-- Cunxvb 2021-08-28 07:04 UTC

vardenafil generic names - <a href="https://blevitrarx.com/">vardenafil generic</a> generic vardenafil canada

-- Mwonto 2021-08-30 18:12 UTC

stromectol human - <a href="https://ivermecrx.com/">ivermectin 1</a> stromectol 6mg

-- Pyyred 2021-09-01 07:14 UTC

2.5 mg prednisone - <a href="https://prednipill.com/">prednisone 5mg</a> prednisone 20mg online

-- Begiwl 2021-09-02 08:27 UTC

accutane 2009 - <a href="https://accutans.com/">where can you buy accutane</a> accutane drug

-- Jmtode 2021-09-03 15:16 UTC

amoxil USA - <a href="https://gnamoxil.com/">generic amoxicillin 500mg</a> amoxicillin without a doctor’s prescription

-- Xxckll 2021-09-05 03:37 UTC

medrol buy - <a href="https://gnmedrol.com/">medrol 2mg price</a> buy lyrica online usa

-- Dlmzgr 2021-09-06 09:22 UTC

pay essay writing - <a href="https://wtessay.com/">help on essay</a> buy essay paper

-- Cmgtob 2021-09-07 13:15 UTC

discount viagra online canada - <a href="https://stviag.com/">Order viagra online</a> 125 mg viagra

-- Wagzwz 2021-09-08 21:26 UTC

tadalafil tablets india online - <a href="https://fspcia.com/">Cialis online ordering</a> top 10 pharmacy websites

-- Krearb 2021-09-10 05:28 UTC

stromectol 3 mg tablets price - <a href="https://ivermectinok.com/">stromectol purchase</a> ivermectin 2mg

-- Ynlcbe 2021-09-12 14:33 UTC

prednisone for gout - <a href="https://opredniso.com/">prednisone 24 mg</a> prednisone 1.25 mg

-- Ghbhew 2021-09-13 16:32 UTC

order lasix with no prescription - <a href="https://genlasix.com/">furosemide over the counter</a> buy furosemide 40 mg

-- Txfzla 2021-09-14 22:02 UTC

ventolin tablet price - <a href="https://ventoingo.com/">albuterol without prescription</a> ventolin over the counter

-- Yvmcix 2021-09-16 03:03 UTC

cytotec pill canada - <a href="https://cytotexr.com/">buy cytotec 200mg</a> cytotec without prescription

-- Cndpmb 2021-09-17 08:24 UTC

doxycycline generic pharmacy - <a href="https://doxycyclinex.com/">doxycycline 100mg acne</a> prednisolone 5mg

-- Pvycbv 2021-09-18 17:00 UTC

ivermectin tablets for humans - <a href="https://ivermectpill.com/">ivermectin 4000</a> ivermectin buy australia

-- Zgsxgi 2021-09-20 00:29 UTC

stromectol medicine - <a href="https://stromecin.com/">ivermectin over the counter</a> stromectol 6mg

-- Gsgvah 2021-09-21 04:24 UTC

non prescription sildenafil - <a href="https://silepilled.com/">buy generic sildenafil online</a> sildenafil no prescription

-- Ikvpww 2021-09-22 10:38 UTC

generic tadalafil canada - <a href="https://tadalapills.com/">buy tadalafil pills</a> tadalafil prescription online

-- Iuggie 2021-09-23 17:01 UTC

accutane nz - <a href="https://isotrepills.com/">how much is accutane generic</a> accutane 40 mg daily

-- Knxvwj 2021-09-24 20:58 UTC

buy essay now - <a href="https://wressays.com/">how to write my thesis</a> write papers online

-- Jgauwa 2021-09-25 23:18 UTC

stromectol 6 mg tablet - <a href="https://ivermctin.com/">cost stromectol</a> oral stromectol cost

-- Fuappn 2021-09-27 05:12 UTC

medication viagra online - <a href="https://tdxpill.com/">Cialis without rx</a> once a day cialis

-- Clhjdp 2021-09-28 18:56 UTC

buy vardenafil no prescription uk - <a href="https://buytopep.com/">prescription drugs from canada</a> over the counter ed pills

-- Nzgeeg 2021-10-01 07:23 UTC

lupus hydroxychloroquine - <a href="https://buypredni.com/">medication prednisone</a> prednisone pill

-- Ezpurf 2021-10-02 11:48 UTC

buy vidalista 40 mg online 20%off - <a href="https://cenforcep.com/">cenforce 120 mg online</a> cenforce 120 mg online

-- Aldkup 2021-10-03 15:46 UTC

orlistat - <a href="https://orlistxen.com/">xenical price in india</a> orlistat from mexico

-- Amzuuo 2021-10-04 18:32 UTC

stromectol canada - <a href="https://ivemecti.com/">ivermectine</a> stromectol 12 mg

-- Qrkmmq 2021-10-06 04:34 UTC

how much is generic sildenafil - <a href="https://sidpill.com/">viagra 200mg for sale</a> female viagra tablet

-- Jtpziq 2021-10-07 05:26 UTC

buy cheap cialis online - <a href="https://erecedpl.com/">buying cialis cheap</a> tadalafil tablets 10 mg price

-- Tvdwpk 2021-10-08 07:18 UTC

buy prednisone 20mg - <a href="https://prednislon.com/">prednisone without prescription medication</a> 2.5 mg prednisone

-- Xzbaue 2021-10-09 15:28 UTC

tadalafil pharmacy - <a href="https://cilaedpl.com/">20 mg cialis</a> cialis prescription coupon

-- Mkjevc 2021-10-11 09:48 UTC

ivermectin without prescription - <a href="https://stromcl.com/">stromectole</a> ivermectin cost australia

-- Ottiql 2021-10-12 16:35 UTC

stromectol price - <a href="https://stromeccl.com/">cost of stromectol medicine</a> stromectol pill

-- Ktiabh 2021-10-13 19:41 UTC

viagra online pills - <a href="https://erecplsp.com/">sildenafil dosage</a> where to buy viagra with paypal

-- Xfmzod 2021-10-15 10:48 UTC

cialis generic viagra - <a href="https://oneviapill.com/">buy viagra wisconsin</a> viagra generic online india

-- Dbwrmz 2021-10-16 15:53 UTC

cialis daily 5mg online - <a href="https://realciapll.com/">cialis black</a> generic cialis us

-- Ackvbi 2021-10-17 15:53 UTC

60 mg generic cialis - <a href="https://okcialpll.com/">Cialis delivery</a> real cialis prices

-- Xsbgfz 2021-10-18 17:20 UTC

ivermectin 0.5 - <a href="https://iverceitin.com/">site</a> stromectol price in india

-- Qrrmte 2021-10-19 22:00 UTC

ivermectin for humans - <a href="https://iverstrom.com/">ivermectin oral solution</a> ivermectin iv

-- Ajdtvl 2021-10-21 07:31 UTC

rivers casino - <a href="https://casirealgam.com/">site</a> online casino usa

-- Arclpw 2021-10-22 08:45 UTC

professional research paper writers - <a href="https://essaywrfm.com/">cheap custom research papers</a> paperwriter

-- Nserkx 2021-10-23 22:10 UTC

how much is viagra online - <a href="https://myviagrsite.com/">Generic viagra canadian</a> buy generic viagra in india

-- Xwxetb 2021-10-25 04:29 UTC

cost of stromectol - <a href="https://ivermpill.com/">buy ivermectin nz</a> where to buy stromectol online

-- Awbgxf 2021-10-26 10:15 UTC

ivermectin ireland - <a href="https://ivercetins.com/">ivermectin australia</a> stromectol 12mg online

-- Xoibuc 2021-10-27 16:01 UTC

prednisone 40mg online - <a href="http://10cialismg.com/">sterapred ds</a> prednisone drug costs

-- Klwgjp 2021-10-30 16:55 UTC

prednisone buy no prescription - <a href="http://predniplus.com/">prednisone 10mg for sale</a> 20mg prednisone

-- Lcmmyp 2021-11-02 10:20 UTC

best accutane cream - <a href="http://accutanplus.com/">buy accutane cheap</a> cheap accutane singapore

-- Jkjzjt 2021-11-03 21:01 UTC

purchase amoxil 1000mg usa - <a href="http://amoxplus.com/">amoxil online</a> amoxicilin usa

-- Iajpza 2021-11-05 07:31 UTC

cost of ivermectin medicine - <a href="https://mectolpl.com/">mectolpl.com</a> stromectol lotion

-- Uyzujp 2021-11-07 16:41 UTC

online casino gambling - <a href="http://slotgmvegas.com/">slots real money</a> slots online

-- Yxmlsf 2021-11-09 00:12 UTC

ivermectin 6mg stromectol - <a href="https://ivmecticn.com/">stromectol us</a> where can i buy oral ivermectin

-- Dmkcbw 2021-11-10 07:30 UTC

ed drugs online - <a href="https://phplok.com/">canadian pharmacy cialis</a> canadian world pharmacy

-- Hkbhjs 2021-11-11 14:48 UTC

sexual dysfunction - <a href="https://edperect.com/">cheap ed pills</a> buy erectile dysfunction medications

-- Puncil 2021-11-12 22:03 UTC

buy prednisone - <a href="https://prednisplus.com/">prednisone without prescription medication</a> where can i buy prednisone over the counter uk

-- Cvldbo 2021-11-15 17:10 UTC

accutane price in usa - <a href="https://accutplus.com/">buy accutane uk</a> accutane gel buy

-- Xsecyg 2021-11-17 04:53 UTC

online casinos usa - <a href="https://gameplusm.com/">casino games free</a> casino slots

-- Tspelf 2021-11-19 23:44 UTC

topical ivermectin cost - <a href="https://ivermeceti.com/">stromectol for sale</a> can i buy ivermectin online

-- Wueegq 2021-11-22 02:33 UTC

tadalafil 5mg price - <a href="https://erectbsp.com/">Canadian pharmacy viagra legal</a> sildenafil no prescription

-- Kopcqb 2021-11-23 18:50 UTC

canadian pharmacy meds - <a href="https://phnoprusa.com/">walmart pharmacy</a> pharmacy online store

-- Ysaaue 2021-11-25 11:17 UTC

buy erectile dysfunction medications - <a href="https://erecedpls.com/">erection pills that work</a> buy ed meds online

-- Cnwxrx 2021-11-27 04:19 UTC

buy medrol 4 mg - <a href="https://medroplls.com/">medrol 16 mg tablets</a> fda methylprednisolone

-- Hlhmbd 2021-11-28 15:36 UTC

ed drugs online - <a href="https://gbactrim.com/">sulfamethoxazole canada</a> pharmacy canadian

-- Eoyihn 2021-12-01 09:00 UTC

online pharmacy india - <a href="https://keflexgn.com/">keflex 250mg pill</a> canadian online pharmacy viagra

-- Ugkppi 2021-12-02 15:36 UTC

azithromycin 100mg - <a href="https://zithromcma.com/">order azithromycin 100mg</a> azithromycin 500 mg

-- Hvvpid 2021-12-05 03:35 UTC

ivermectin for covid - <a href="https://iverecirx.com/">generic name for stromectol</a> express pharmacy

-- Amfeqa 2021-12-10 12:35 UTC

medicine for impotence - <a href="https://edponlinepl.com/">medicine for impotence</a> accutane online uk

-- Qfxawe 2021-12-11 19:19 UTC

buy amoxicillin online - <a href="https://casinobaok.com/">online slots real money usa</a> real online casino

-- Xrtegi 2021-12-13 01:58 UTC

pregabalin 150mg drug - <a href="https://lyricpls.com/">lyrica 200</a> lasix no prescription

-- Rytpoy 2021-12-14 12:18 UTC

clomid for men - <a href="https://ventolpill.com/">albuterol price</a> order generic misoprostol

-- Casaef 2021-12-15 21:25 UTC

priligy 90mg cost - <a href="https://doxycycpl.com/">order doxycycline 100mg pills</a> order prednisolone 20mg online

-- Srajtv 2021-12-17 12:41 UTC

cheap synthroid tablets - <a href="https://levothyroph.com/">synthroid online</a> brand neurontin 800mg

-- Gezzwr 2021-12-18 23:58 UTC

order synthroid 75mcg pill - <a href="https://ciaedplls.com/">buy tadalafil 40mg</a> order tadalafil 20mg online

-- Totsbc 2021-12-20 06:21 UTC

modafinil online buy - <a href="https://provigills.com/">buy modafinil 200mg generic</a> ivermectin 3 mg for humans for sale

-- Acfcnu 2021-12-22 06:31 UTC

cheap plaquenil - <a href="https://gnvaltrex.com/">valacyclovir brand</a> order valtrex 500mg generic

-- Jpvrcl 2021-12-24 17:38 UTC

order sildalis sale - <a href="https://gninasteride.com/">brand finasteride 5mg</a> metformin medication

-- Cxcziy 2021-12-25 19:45 UTC

acillin brand - <a href="https://gnflagyl.com/">purchase metronidazole generic</a> generic plaquenil 400mg

-- Cvocfc 2021-12-27 01:48 UTC

purchase sildenafil generic - <a href="https://erecrxedpl.com/">buy cialis 5mg pill</a> tadalafil drug

-- Gcznhh 2021-12-30 11:23 UTC

sildenafil 200mg en france - <a href="https://gncialifr.com/">cialis 5mg gГ©nГ©rique</a> tadalafil sans ordonnance en pharmacie

-- Posuut 2022-01-01 13:38 UTC

ivermectin 10 mg - <a href="https://plprovigil.com/">buy provigil 100mg online</a> stromectol for sale online

-- Vtjacy 2022-01-03 02:00 UTC

prednisone 5mg cheap - <a href="https://prednisonepa.com/">brand prednisone</a> prednisone 5mg sale

-- Ekfhkq 2022-01-05 04:08 UTC

tadalafil price walmart <a href="https://nextadalafil.com/#">buy generic cialis online with mastercard</a>

-- Enuchifdu 2022-01-06 05:00 UTC

cost accutane 20mg - <a href="https://isotretinoinb.com/">isotretinoin cheap</a> cheap amoxicillin

-- Jypyfl 2022-01-06 20:31 UTC

buy lisinopril 2.5mg pill - <a href="https://microzideb.com/">buy lisinopril 2.5mg online</a> order prilosec 20mg online cheap

-- Jugfpf 2022-01-08 10:31 UTC

lyrica uk - <a href="https://albuterolc.com/">ventolin 4mg ca</a> buy zithromax

-- Ogaflg 2022-01-10 02:49 UTC

<a href="https://extratadalafill.com/#">cialis at canadian pharmacy</a> tadalafil blood pressure

-- tadalafil without a doctor prescription 2022-01-11 03:52 UTC

brand triamcinolone - <a href="https://loratadinec.com/">loratadine 10mg price</a> buy clarinex generic

-- Kctfsc 2022-01-11 20:35 UTC

order doxycycline without prescription - <a href="https://synthroidc.com/">buy synthroid tablets</a> buy synthroid pill

-- Qnlwxh 2022-01-13 19:25 UTC

buy orlistat generic - <a href="https://chloroquic.com/">hydroxychloroquine 400mg without prescription</a> order hydroxychloroquine 400mg pill

-- Qlnwuq 2022-01-15 06:04 UTC

side effects of tadalafil <a href="https://cialistrxy.com/#">generic cialis online fast shipping</a>

-- Truddysbzv 2022-01-16 14:04 UTC

cenforce generic - <a href="https://diltiazemd.com/">order diltiazem 180mg</a> purchase acyclovir

-- Ghtxwq 2022-01-16 15:20 UTC

hydroxyzine pill - <a href="https://ezetimibec.com/">order ezetimibe 10mg online</a> rosuvastatin price

-- Seucyg 2022-01-18 01:28 UTC

order generic tetracycline - <a href="https://citalopramc.com/">citalopram generic</a> purchase celexa generic

-- Oydcuh 2022-01-19 09:25 UTC

order inderal 20mg generic - <a href="https://trazodonepl.com/">desyrel tablet</a> hydroxychloroquine for sale online

-- Ekrlvo 2022-01-22 20:39 UTC

cheap cialis pills for sale <a href="https://extratadalafill.com/#">cialis cost</a>

-- best price usa tadalafil 2022-01-24 03:56 UTC

buy plaquenil 400mg for sale - <a href="https://xychloroqpl.com/">buy plaquenil generic</a> buy aralen online

-- Ahiuah 2022-01-24 09:29 UTC

order chloroquine 250mg online - <a href="https://chloroqui.com/">purchase chloroquine for sale</a> oral viagra 150mg

-- Zupnew 2022-01-26 03:35 UTC

cialis sale - <a href="https://stromectpol.com/">ivermectin tablet price</a> cost of ivermectin pill

-- Zthxle 2022-01-28 05:48 UTC

ivermectin 3mg tablet - <a href="https://camoxicillin.com/">amoxil online</a> purchase isotretinoin online

-- Tijswy 2022-01-29 22:32 UTC

<a href="https://nextadalafil.com/#">tadalafil drug</a> lowest price cialis

-- cialis pills 2022-01-31 10:42 UTC

online casino real money no deposit - <a href="https://xzithromycin.com/">azithromycin 250mg for sale</a> azithromycin over the counter

-- Ybmdmg 2022-01-31 23:34 UTC

buy clopidogrel 75mg sale - <a href="https://zithromycinx.com/">zithromax uk</a> order coumadin pills

-- Vdrsxr 2022-02-02 05:21 UTC

metoclopramide buy online - <a href="https://losartang.com/">cozaar for sale online</a> losartan 50mg uk

-- Ptyxyf 2022-02-03 11:00 UTC

buy cialis pills https://cialisedot.com/

-- Truddywjes 2022-02-03 22:35 UTC

generic cialis tadalafil https://cialisbusd.com/

-- Truddyozpc 2022-02-04 14:16 UTC

order topamax 100mg - <a href="https://sumatriptanc.com/">sumatriptan over the counter</a> sumatriptan pill

-- Mvwldc 2022-02-05 06:05 UTC

generic effexor 150mg - <a href="https://celecoxibx.com/">brand celecoxib 200mg</a> zantac 150mg brand

-- Ndqlwg 2022-02-07 09:12 UTC

<a href="https://patientlee.com">ivermectin pills canada</a> <a href=https://patientlee.com/>ivermectin corona</a>

-- VwjNvikzi 2022-02-07 12:41 UTC

<a href="https://patientlee.com">ivermectin price uk</a> <a href=https://patientlee.com/>ivermectin 6mg</a>

-- RnqYxshrq 2022-02-07 13:27 UTC

<a href="https://patientlee.com">purchase stromectol online</a> <a href=https://patientlee.com/>iwermektyna</a>

-- TsoBhxfmv 2022-02-08 01:29 UTC

<a href="https://patientlee.com">stromectol tablets for humans</a> <a href=https://patientlee.com/>history of ivermectin</a>

-- BnnIeoznl 2022-02-08 02:15 UTC

<a href="https://patientlee.com">buy stromectol tablets</a> <a href=https://patientlee.com/>buy stromectol tablets</a>

-- FiyKpxohz 2022-02-08 14:19 UTC

<a href="https://patientlee.com">stromectol usa</a> <a href=https://patientlee.com/>stromectol buy europe</a>

-- LzsVdvrsa 2022-02-08 15:07 UTC

buy tamsulosin pill - <a href="https://ondansetronx.com/">order ondansetron without prescription</a> simvastatin 10mg us

-- Ebutxj 2022-02-08 23:41 UTC