how about, what does the second argument to SvPV do? It is a len argument, but it is a reference where the length will get copied to? Is it unused? -- David L Nicol "A rhinoceros, going full tilt on the opposite pavement!" -- Ionesco