www.perl.org is the place to look. On the left hand side of the page, you'll see a listing for Perl Mailinglists. I recommend trying comp.lang.perl.moderated first. Your question is basic, so that's the place to start [link] is the place to look. On the left hand ..." />
 
Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 05 Feb 2003 @ 22:20:21 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Large file size with perl and mload
 
From:   John Adams

Sajid,

You've got two Perl options that I can see.

1) You can use Tie::File, which is (the last time I looked) part of the standard Perl distribution. Look here:

www.theoryx5.uwinnipeg.ca...

for information.

2) You can use regular perl commands (print and length come to mind) to write the file in chunks of a size of your choosing. The general idea is to print in a loop while summing the chunk sizes with length, breaking the loop when you reach that size.

I love telling people about Perl, but it's not really the focus of this list, so let me instead give a reference for Perl similar to this list, and note in passing that commercial support for Perl is available from various companies.

www.perl.org is the place to look. On the left hand side of the page, you'll see a listing for Perl Mailinglists. I recommend trying comp.lang.perl.moderated first. Your question is basic, so that's the place to start.

I suspect that our host John is becoming a bit impatient with somewhat off-topic Perl questions, so let me beat him to the punch and suggest that such questions be taken there first and brought here should they become Teradata-specific.


Thanks,

John A
see me fulminate at www.jzip.org



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016