Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm not so sure.
As I contemplate it. It could be done in phases. Using SED, I would bite off,gulp,slurp chunks of tags (language constructs) I recognize, and separate them into categorized groups -- functions,(s)print(f)'s,... Then, I could translate the actual Language bits, ignoring the other stuff as pretty much being equivalent(s) in Perl. Then (somehow) reconstruct it all -- which is another puzzle in, and of itself. This is, of course, pretty simplified. But in my mind, seems a reasonable path. --Chris #!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version; In reply to Re^2: Has anyone attempted to create a PHP to Perl converter?
by taint
|
|