in reply to Can't use moduels by 'use' directive

Are you sure the code you posted is the code you tried to run? Line 6 of the posted program is my $err = ''; - it seems unlikely that that line triggers the error.

Replies are listed 'Best First'.
Re^2: Can't use moduels by 'use' directive
by PN33D0 (Initiate) on May 31, 2011 at 02:29 UTC
    You're right, I'm sorry that output wasn't correct. It should be line 7. Thank you