in reply to Perl Problems in Tiger

Yes, the problem was that I was clicking it like an icon. I got this idea because the example program I was talking about is saved in system/library/perl/extras/applications/wxPerl and the extension is .app. Opening it in the terminal with the perl command worked, though, so thank you all for your help.