Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Hash entries starting with a given string.

by TedPride (Priest)
on Jul 28, 2008 at 05:17 UTC ( #700460=note: print w/replies, xml ) Need Help??


in reply to Hash entries starting with a given string.

Why are you doing this? You can theoretically create a sorted list in n lg n time, or create additional hashes for every searchable substring length, but with 2^40 entries - or even a fraction of that - you won't have enough memory to hold the original hash, never mind any additional data structures.
  • Comment on Re: Hash entries starting with a given string.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://700460]
help
Chatterbox?
[1nickt]: Perl300 Try Email::Stuffer
[1nickt]: Or for a little more control, Email::Sender:: Simple
[Perl300]: any suggestion on which one might be secure and simplest. I am not doing anything complex, just check some conditions from DB tables and send email to myself (same domain) if conditions are met
[1nickt]: read the doc of the suggestions I just gave
[1nickt]: A lot depends on whether you are sending mail from your local box or using a remote server
[hippo]: Secure in what sense?
[Perl300]: I am sending from remote server
[1nickt]: Then see Email::Sender:: Transport::SMTP
[Perl300]: secure in sense it should not cause any security concerns, create some loop holes.... I don't know much about it but don't want to cause any problem for security guys here
[Perl300]: I used sendmail before for a few times but read that is causes some security issues so trying something better/secure this time

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-10-17 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?