#!/usr/bin/perl use strict; use warnings; my $line = 'toe'; print substr($line, 10, 3), "\n";