in reply to (jeffa) 3Re: Creating random passwords?
in thread Creating random passwords?

Umm ... no offense meant toward sauoq,

Why would I take any offense?

but why embed that code in a script when you can use Crypt::GeneratePassword instead?

This is an old discussion. There are many reasons why one might choose to use a short piece of code instead of a module. And vice versa. In fact, many of them overlap. It's all a question of your priorities for the project at hand. Things to consider include maintainability, verifiability, deployability, development efficiency, run time efficiency, and compatibility among others. Even corporate culture can play a role.

But when it comes to creating applications, you don't have to reinvent wheels like that.

You're right, you don't. And CPAN is one of the most wonderful things about Perl. On the other hand, sometimes a custom built wheel fits better than a generic one. Fortunately, Perl gives us the tools to build those too. As for which is best, well, the only answer is: "it depends."

Lucky for us, Perl so often gives us the choice. :-)

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: (jeffa) 3Re: Creating random passwords?

Replies are listed 'Best First'.
Re: Re: (jeffa) 3Re: Creating random passwords?
by stonecolddevin (Parson) on Jul 06, 2003 at 05:20 UTC
    Thanks for the good advice everyone, I'll look into and study all of those options.

    And if you're feeling lucky... come and take me home And if you feel loved If you feel lucky, if you feel loved If you feel lucky, if you feel loved You've crossed the walls - Excelled Further along through their hell All for my heart, I watch you kill You always have, you always will Now spread your wings and sail out to me....