in reply to Re: parsing directory glob in config file
in thread parsing directory glob in config file
my @files; open (CFG,"<$ENV{HOME}/bin/$configFile") or die "Cannot Open Config Fi +le: $!\n"; while (<CFG>){ chomp; s/ \d+$//; @files = < $_ >; } close(CFG); print join ("\n", @files);
But I get "glob failed (child exited with status 1) at ./old_file_scrub line XX". If I trim the entry in the config file to the point that there is only 1 "*" in it, it works fine, but not with both.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: parsing directory glob in config file
by chromatic (Archbishop) on Sep 13, 2002 at 20:13 UTC | |
by gnu@perl (Pilgrim) on Sep 13, 2002 at 20:22 UTC |