in reply to Pattern Match in @array
As to part (b), there's no Perl built-in equivalent to the creat system call (not that I'm aware of). If you want to create a zero-length file with a particular name, you can just write to it:
Alternatively, if you're on something Unix-y, you can use the shell to "touch" the file: system("touch $filename"); HTHopen(I, ">$filename"); close(I);
|
|---|