in reply to Testing for valid package names
There's already a Module for that. I just saw it a bit ago. Might save you some unnecessary trouble, unless of course you're doing this for the "experience". :)
I'll see if I can find it again, and post back with a link. If you want to try yourself; I seem to remember it being in the CPAN namespace.
--Chris
#!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing for valid package names
by boftx (Deacon) on Nov 25, 2013 at 21:27 UTC | |
by taint (Chaplain) on Nov 25, 2013 at 21:33 UTC | |
by taint (Chaplain) on Nov 25, 2013 at 21:46 UTC |