in reply to Re^5: Program for Windows and Unix
in thread Program for Windows and Unix

yeah, something like that... I do get a similar error when the semicolon is missing from the previous "expression", e.g.

+ use if $^O eq 'MSWin32', 'Win32::NetResource'; __END__ "use" not allowed in expression at ./746794.pl line 3, at end of line syntax error at ./746794.pl line 3, near "use if " Execution of ./746794.pl aborted due to compilation errors.