Mihaela Malita

Perl Class Examples. 2012 ♦ Perl functions

Hello: hello hello1 hello2 hello3 chop0
Control: yesornocontrolForcontrolWhile0controlWhile1 makeStringDomakeStringFor controlWhileLast
Arithmetic: arithadd0add1incpythagoraSubFactorial: factfact1factrec
Counting: count0count1count2 countGoto
Random: rand0rand1rand2 randArray
Data Structures: conversionsdatastr0 datastr1 datastr2hash0hash1
Arrays: array0arrayReadarrayAppendarrayRandarrayRandSubmatrix0
Strings Basic: lengthstringUpperCasestring0string1stringsstringRepeatstringReversepalindromepalindrome1
Strings: stringGenAlphabetcomparestringCompare0stringComparemakeStringsort0
Match: match0match1match2matchTimematchHashmatchHash1regex0regex1regex2regexFile
Substitution: reg3subst0subst1searchsearch1search2searchAllsearchAllsubsearchallsub2
Translate: tr0tr1tr2
Subroutines: sub0sub1sub2 sub3 sub4sub5
Files: file0file1 file2file3 fileWritefileWriteDie fileReadWritefile2Words fileDelBlanksfileDelLines fileManyfileSkipLines
Modules: mymodules.pmusemodule.pl
Data Base: dbm0dbmCreatedbmAskdbmSearch