SPUG: Reading a whole file into a scalar.

David Dyck david.dyck at fluke.com
Wed Jul 20 18:40:10 PDT 2005


On Wed, 20 Jul 2005 at 18:19 -0700, Duane Blanchard <dblanchard at gmail.com>...:

>  ... I ... need a clever way ...  to read the whole file into a scalar.  ...
>
> Someone, please give a little pointer. Thanks,

There is a great article at

   http://www.perl.com/pub/a/2003/11/21/slurp.html


More information about the spug-list mailing list