Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: Point::Small

Create a class called Point::Small a subclass of Point that will allow coordinates only between 0 and 100. Create a script point_small.pl that uses the new Point::Small class and checks if it works and fails correctly.