in reply to Searching text files

Why not just make a file for each number, in a directory
/home/phones/1/2/3/1/1/3/5/5/6
then all you've gotta do is
if ( -f "$directory/".join '/' split '' $number ) { print "Lordy! don't call them!"; }
will: do{ perl programing } for ($cash);

Replies are listed 'Best First'.
Re^2: Searching text files
by Anonymous Monk on Sep 15, 2006 at 15:27 UTC
    ... A mere two million new directories. Hope you've got this on its own partition!
      Heck, you could even build it all in a ram disk, then it'll be good and quick to access!
      will: do{ perl programing } for ($cash);