Perl Quick Reference Card version 0.02 – editor: John Bokma – freelance programmer
Full text
Related documents
Perl Regular Expression Quick Reference 1.04.. N.B.: this quick reference is just that - some of the explanations have
Standard module codecs have functions and objects to transparently process encoded files (used internally as unicode files).
sub(pattern, repl, string[, count=0]) Returns string obtained by replacing the (count first) leftmost non- overlapping occurrences of pattern (a string or a RE object) in string
You suspect that the icosaeder is not fair - not uniform probability for the different outcomes in a roll - and therefore want to investigate the probability p of having 9 come up in
(a) Write a class method static boolean isPrefix(String str, int i, int k) which, when called with a non-empty string str, a non-negative integer i and a positive integer k,
• a method public boolean isOverdue that returns true if the book is overdue, and false otherwise;.. • a method public int getFee that returns the value of the fee that would have to
• An instance variable growthRate (type double) for the rate at which the population increases every year (with a negative value if the population is decreasing).. A rate of increase
• a method public int getKerbWeight() that returns the vehicle’s kerb weight in kg;.. • a method public int getMaxLoad() that returns the vehicle’s maximum load