J
JS
I have a program called depstats.pl
which takes some files as input so I run it like:
../deptstats file1 file2 file3
and then loop through all those files using the construct:
while(<>)
How do I check if any files were supplied? Because if I just do :
../depstats.pl
the programs never ends until I CTRL-C it.
Thanks for the help.
JS.
which takes some files as input so I run it like:
../deptstats file1 file2 file3
and then loop through all those files using the construct:
while(<>)
How do I check if any files were supplied? Because if I just do :
../depstats.pl
the programs never ends until I CTRL-C it.
Thanks for the help.
JS.