jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
If I forget about something like $session_id or any of the around 20 other important scalars and close out without recording them into the database (along with the other scalars in use of lesser importance), I will probably have to recode some good sized chunks of my code. So, bringing me finally to the question I have, does anyone know of a program to run against two perl programs that verifies that one file is using all of the scalars of another, or is able to check on idiotic implementation? I'm thinkin no, that is what the human brain is for, but you guys have been cruisin the perl scene far far longer then I so; I toss this your way.
The best idea I've got (and am currently using) goes a little something like this
Admittedly that is entirely unperl like, but thats what I have got, thoughts anyone?#!/bin/bash cat file.pl |grep $ |unique|sort
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parser / find / implementation thingy?
by davido (Cardinal) on Dec 18, 2003 at 03:05 UTC | |
by jcpunk (Friar) on Dec 18, 2003 at 03:52 UTC | |
|
Re: parser / find / implementation thingy?
by delirium (Chaplain) on Dec 18, 2003 at 12:31 UTC |