|
|
Choosing A Webhost: |
Re: Unrecognized character: msg#00001lang.perl.par
Augusto Flavio wrote: Hi!Are you working in a Windows variant? If so, Windows will not just execute something with a '.pm' extension. Try just using pp -o compiled.exe main_perl_file.pl Notice in your example below you have ".pm" twice: > pp -o compiled.pm -M Exporter module.pm I use "compiled.exe" because that would be the name of the executable I would be trying to create. I use perl_file.pl because that is the perl code I would want the compiled executable to be created from. Also, I use Exporter quite often in my modules, and I NEVER have to use '-M Exporter'. Try making your line just pp -o compiled.exe main_perl_file.pl Internal to each perl module that I use, where I want to export subroutines (NOT in the .pl file!) I have something like this: package my_package; use Exporter; @ISA = qw(Exporter); @EXPORT = ( "subroutine_1", "subroutine_2", ... "subroutine_N", ); Good luck
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Unrecognized character, Augusto Flavio |
|---|---|
| Next by Date: | modules permissions after unzipping .par, Salih Gönüllü |
| Previous by Thread: | Unrecognized character, Augusto Flavio |
| Next by Thread: | Re: Unrecognized character, Augusto Flavio |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |