in reply to Testing that functions are imported

Most of modern exports are done via Exporter, so this is just testing whether Exporter works, isn't it?

Replies are listed 'Best First'.
Re^2: Testing that functions are imported
by Ovid (Cardinal) on Oct 05, 2004 at 18:21 UTC

    No. Even if you're doing your exporting via Exporter, you still might have accidentally put a function in @EXPORT instead of @EXPORT_OK. Or maybe you misspelled the function name, or maybe you set up the export tag incorrectly. Or maybe you miswrote your own export function. There are plenty of ways that exporting can go wrong, so testing this is a Good Thing.

    Cheers,
    Ovid

    New address of my CGI Course.