Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999165]
help
Chatterbox?
[Kanvee]: hi anyone tell me.... is it possible to create a wysiwyg html editor
[Kanvee]: using perl script

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-02-22 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (334 votes). Check out past polls.