Closed p5pRT closed 21 years ago
Yen-Hung Chen
My perl script is:
#!/usr/local/bin/perl -w
while (defined ($profile = \<*.pf>)) { chomp($profile); print "$profile\,"; }
The script aborts without printing anything. The directory has 2592 ".pf" files.
The perl I use is:
% /usr/local/bin/perl -v
This is perl\, version 5.004_04 built for sun4-solaris
Copyright 1987-1997\, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the GNU General Public License\, which may be found in the Perl 5.0 source kit.
On Tue\, 14 Dec 1999\, Yen-Hung Chen wrote:
The simple globbing command fails without giving any warning or error\, when the command returns a list which is too large.
Thanks for mentioning it. It's a known bug - but it's a bug in csh\, rather than perl. (Or\, maybe the bug is that Perl uses csh. :-)
If you have or can obtain tcsh\, you should be able to recompile perl to use that instead of csh\, so you can avoid this bug.
In any case\, it's (scheduled to be) fixed in the upcoming version 5.6 of perl\, which won't use csh.
Thanks for the bug report!
-- Tom Phoenix Perl Training and Hacking Esperanto Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
Migrated from rt.perl.org#1891 (status was 'resolved')
Searchable as RT1891$