M
Matthew Lincoln
When I code in a perl script
tar czvf "/usr/local/myname/$tarfile" ./*.php
I got the following error:
Search pattern not terminated at /usr/local/myname/bin/myscript.pl line 20.
If I code:
tar czvf "/usr/local/myname/$tarfile" ./*.php ./templates/
then I got this error:
Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE .php ./ at /usr/local/myname/bin/myscript.pl line 20.
So how do I correctly execute a tar command from within a perl script ?
Matthew
tar czvf "/usr/local/myname/$tarfile" ./*.php
I got the following error:
Search pattern not terminated at /usr/local/myname/bin/myscript.pl line 20.
If I code:
tar czvf "/usr/local/myname/$tarfile" ./*.php ./templates/
then I got this error:
Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE .php ./ at /usr/local/myname/bin/myscript.pl line 20.
So how do I correctly execute a tar command from within a perl script ?
Matthew