Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Reading huge file content

by siva kumar (Pilgrim)
on Dec 06, 2007 at 12:42 UTC ( #655381=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ls -lh /path/2024.sql
    -rw-r--r--  1 user group  609M Oct 17  20:49 2024.sql
    
  2. or download this
    open(FH,"/path/2024.sql");
    $/=EOF;
    $var = <FH>;
    
    &callGenericfunction($var);
    
  3. or download this
    
    use Tie::File;
    ...
    my $obj = tie @array, "Tie::File", $filename;
    $var = join " ",@array;
    &callfunction($var);
    
  4. or download this
    open (FH, "</path/2024.sql") or die "bah";
    binmode FH;
    ...
           $data .= $data;
    }
    &callfunction($var);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://655381]
Approved by graff
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-01-19 21:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?