Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 meditating upon the Monastery: (10)
As of 2014-07-11 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (219 votes), past polls