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 ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found