[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Perl script 4->5 checker



Does anyone know of / have access to a Perl script that will scan another
script (written for Perl 4) and report back on anything that could be a
problem with Perl 5.

(Yes, I know I can probably write one, but I'd rather leverage what someone
else has done; I'm being lazy).

Basically, it has to take note of things such as
   use of the single tick mark (now :: is preferred)
   use of dbmopen, dbmclose (no longer in vogue)
   use of keywords added in Perl 5 that weren't keywords before (e.g. my)

   what else?

We've got a few hundred scripts at work that were written with Perl 4 and
people are nervous about just running them under Perl 5.* without being
really _sure_ and no one has time to test each of these carefully. A sanity
checker would be useful.

Vicki

      |\      _,,,---,,_       Vicki Brown - vlb@cfcl.com
ZZZzz /,`.-'`'    -.  ;-;;,_   http://www.cfcl.com/~vlb
     |,4-  ) )-,_. ,\ (  `'-'  P.O. Box 1269  San Bruno  CA  94066
    '---''(_/--'  `-'\_)   Ooit'n Normaal Mens Ontmoet? En... Beviel't?
                       Ever met a normal person? So... did you like it?



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch