Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My program is only opening the first file, and fails for every file after that. Whats wrong???

fails file opening program wrong
0
Posted

My program is only opening the first file, and fails for every file after that. Whats wrong???

0

glob() correctly. Recall that glob() returns undef after it has cycled through all possible expansions of its argument. If there’s only one possible expansion, it will return undef on the 2nd attempt.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123