in reply to extracting data from a line

One way:

s[.*/][]; my($board,$iss,$side) = split /_/;

that removes everything up to and including the last / character which would leave only the part you're interested in.

Since these look like filenames you might want to use File::Basename instead.