in reply to Re: Using perl for refactoring
in thread Using perl for refactoring

Hi Pajout

Of course. The code I'm faced with is PHP, but I think Perl is probably more suited to the tasks such as this where text parsing is involved, hence the post here.

The code I am looking at refactoring for a specific application is published open-source by Yubikey on Github, so the relevant files are as follows:

https://raw.githubusercontent.com/Yubico/yubikey-val/master/ykval-verify.php

https://raw.githubusercontent.com/Yubico/yubikey-val/master/ykval-common.php

https://raw.githubusercontent.com/Yubico/yubikey-val/master/ykval-synclib.php

So synclib and common are the libraries, and verify is the main file.

Replies are listed 'Best First'.
Re^3: Using perl for refactoring
by karlgoethebier (Abbot) on Dec 09, 2014 at 13:24 UTC

    Wait! As fare as i understood you, you want to refactor PHP code using Perl, right?

    If so please:

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Re^3: Using perl for refactoring
by pajout (Curate) on Dec 10, 2014 at 11:06 UTC
    ...thanks. And, what output of that perl software do you expect?