in reply to extracting numbers from a string

As jeroenes mentioned, TIMTOWTDI, and I favour unpack for cases like this:
$filename = '11-22-2001012004'; ($x,$z,$y,$m,$d,$h) = unpack('a2xa2xa4a2a2a2', $filename)

--
I'd like to be able to assign to an luser