由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Perl help: open a very large file
相关主题
请教:Variable in sed commandhow to contral tar-ed file size?
A question for highhands..HELP.
my script Re: how would you do this?What's the quickest way to change various filenames with same format under unix?
bsplit.cRe: What's the quickest way to change various filenames with same form
help!!I want to install mrouted for solaris-i386!what's wrong with gcc?
group permission如何用mail命令发送代附件的信
怎样用mail把某一文本文件发送给一个email地址?How to delete such file?
what is the problem? what can I do?HOw to find files hardlinked to a same inode?
相关话题的讨论汇总
话题: open话题: large话题: infile话题: perl
进入Unix版参与讨论
1 (共1页)
t***s
发帖数: 30
1
My script tries to open a very large file, 3GB in size and fails with an error
like:
a slow, suffocating death: Value too large for defined data type at
../scripts/invcsplit.pl line 156.
Part of the script is:
open (INFILE, "<$filename") or die "a slow, suffocating death: $!";
open (OUTFILE,">".$segment.$filename);
while ()
{
$line=$_;
....
Any suggestion would be really appreciated. Thank you!
1 (共1页)
进入Unix版参与讨论
相关主题
HOw to find files hardlinked to a same inode?help!!I want to install mrouted for solaris-i386!
vnc server in Sun Solaris, how to change wm?group permission
how can i program to insert a line into a file怎样用mail把某一文本文件发送给一个email地址?
如何删除一组文件或给一组文件更名?what is the problem? what can I do?
请教:Variable in sed commandhow to contral tar-ed file size?
A question for highhands..HELP.
my script Re: how would you do this?What's the quickest way to change various filenames with same format under unix?
bsplit.cRe: What's the quickest way to change various filenames with same form
相关话题的讨论汇总
话题: open话题: large话题: infile话题: perl