in reply to Re: Re: Re: Re: Re: Re: Re: Is it possible to compile a Perl program into a .exe?
in thread Is it possible to compile a Perl program into a .exe?
Dude, this is Perl. The most powerful text munging language on earth. You want pod. You got pod. Just paste the module into the data section (as shown) and let her rip. Not the prettiest pod ever but it's all there. You can probably pretty it up some more if you want:
while ( <DATA> ) { next unless /^\s*#/; s/#//; next if /^\s*$/; if (/####/) { print "\n\n=head1 "; next; } s/^\s*(?=\(@\))//; print } print "\n=cut" __DATA__ ###################################################################### +######### # # Win32::GUI - Perl-Win32 Graphical User Interface Extension # # 29 Jan 1997 by Aldo Calpini <dada@perl.it> # # Version: 0.0.558 (15 Jan 2001) # # Copyright (c) 1997..2001 Aldo Calpini. All rights reserved. # This program is free software; you can redistribute it and/or # modify it under the same terms as Perl itself. # ###################################################################### +######### [yabada yabada]
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Re: Re: Is it possible to compile a Perl program into a .exe?
by Flame (Deacon) on Sep 02, 2001 at 19:42 UTC |