in reply to Parsing chapter id's

Split is your friend:
my @chapters = split /\./, $chapter; pop @chapters; my $prev_chapter = join '.' @chapters;
(I'm sure this can be golfed, but this is for clarity now :D)


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain