Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: glob quietly fails

by remiah (Hermit)
on Oct 15, 2012 at 20:06 UTC ( #999165=note: print w/ replies, xml ) Need Help??


in reply to Re: glob quietly fails
in thread glob quietly fails

Hello RichardK.

glob fails silently as QM saids with my perl. How does this code say with your platform?

for (my $q =1; $q < 10000; $q++){ my @x = ( 'A' x $q, 'B' x $q ); my $glob = '{' . join(',', @x) . '}'; my $g = join(',', glob($glob)); if (length $g == 0){ print "fail silently, q=$q\n"; last; } }
Mine stops saying
fail silently, q=511
perl -v
This is perl 5, version 12, subversion 2 (v5.12.2) built for i386-freebsd-thread-multi-64int
regards.


Comment on Re^2: glob quietly fails
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-09-22 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (206 votes), past polls