Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print while <$text>; # reads from either a file or a string
    
    $text->close;