in reply to PDF::API2 not working?

my guess is open returns undef because it can't access $in, and then openpage fails with Can't call method "openpage" on an undefined value at ...