in reply to Re^2: How to use Getopt?
in thread How to use Getopt?

What does $lines_1 get set to if that massive regexp never matchs? Im willing to bet you also found $outfile_1 was empty.

Replies are listed 'Best First'.
Re^4: How to use Getopt?
by chaney123 (Acolyte) on Oct 10, 2017 at 03:27 UTC

    I found a mistake in my regexp. Now the codes works very well! Thanks so much!!!!