Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Password (pseudo)casual

by Athanasius (Chancellor)
on Jan 23, 2013 at 15:39 UTC ( #1014933=note: print w/replies, xml ) Need Help??

in reply to Password (pseudo)casual

Hello cisco88, and welcome to the Monastery!

In addition to the excellent points made by Corion...

It’s always a good idea to:

use strict; use warnings;

in any Perl script. For one-liners, you can do:

perl -Mstrict -we ...

to get the same benefit. In this case, warnings would have given you messages of the form:

Use of uninitialized value in print...

which arise because the expression rand($len) % $len + 3 sometimes generates array indexes beyond the end of the @lett array.

Get in the habit of always using strict and warnings now, and you will save yourself a lot of time and grief in the future!

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Password (pseudo)casual
by cisco88 (Beadle) on Jan 23, 2013 at 15:43 UTC
    Thanks for the tips and the welcome.
    Il surely use them. The more I can fix at firts writing, the better it is :)
    -- Luca Francesca

    Vodafone Italy & Ntt Data

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014933]
[Corion]: Yeah, I'm thinking more of marketing mailing lists, not public broadcast-style mailing lists
[marto]: yeah, so our hackerspace, we run mailman. that's a public discussion list, not a weekly buy our crap marketing list, people can unsubscribe at any time. What they can't do is delete their mails from the archive, or from the inboxes of our hundreds of user

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2018-05-22 08:22 GMT
Find Nodes?
    Voting Booth?