Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

jonasbn
  reversethis-{gro.napc} {ta} {nbsanoj}
http://e-diot.dk/
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Tuesday July 01, 2003
04:10 PM

What's a name?

[ #13183 ]

The other day I discovered that there is a module on CPAN called Clone, which does somewhat the same as my Object::Clone.

So now I don't know which one to use for Metrics::LOC?

Today I discovered there is a Perl module called Codebase, the name I had chosen for a series of modules, which I wanted to use for some codebase statistics.

...back to the drawing board or the idea box or...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The other day I discovered that there is a module on CPAN called Clone, which does somewhat the same as my Object::Clone.

    So now I don't know which one to use for Metrics::LOC?

    None of the above. Storable dclone

    1. It's in the core as of 5.8
    2. It copies new features correctly (offhand I can think of restricted hashes, and hashes with UTF8 keys)
    3. It is well supported:
      $ perl -e 'use Clone qw(clone); $a = \$b; undef $a; $c = clone $a;'
      Segmentation fault

      That bug is 3 months old now [cpan.org] and untouched, despite the

    • Hmmm

      My own Object::Clone does not suffer from the same problem, maybe it is because I use it in an strictly OOP way - it might have to require some more testing.

      I will check out Storables dclone
  • code yours as Imperial::LOC