>>>>> "KS" == Kevin Spencer <ke...@kevinspencer.org> writes:

  KS> On Wed, Aug 10, 2011 at 4:04 AM, Rob Coops <rco...@gmail.com> wrote:
  >> #!/usr/bin/perl
  >> 
  >> use strict;
  >> use warnings;
  >> use File::Slurp; # A handy module check it out at:
  >> http://search.cpan.org/~uri/File-Slurp-9999.19/lib/File/Slurp.pm

  KS> While handy, be aware that you are slurping the entire file into
  KS> memory, so just be careful if you're going to be processing huge
  KS> files.

in general i would agree to never slurp in most genetics files which can
be in the many GB sizes and up. the OP says the file has up to 10M
letters which is fine to slurp on any modern machine.

uri

-- 
Uri Guttman  --  uri AT perlhunter DOT com  ---  http://www.perlhunter.com --
------------  Perl Developer Recruiting and Placement Services  -------------
-----  Perl Code Review, Architecture, Development, Training, Support -------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to