in reply to Re^4: syntax error near print
in thread syntax error near print
Are you sure you want to put data files in to /usr/bin? See http://www.linfo.org/usr_bin.html. Consider running this script in your home directory (or a sensibly named sub directory of your home directory).
As you've discovered you can't create files in directory in which you don't have permissions without using sudo, so unless you run your perl script in the same manner, this isn't going to work. I advise against creating these files in /usr/bin anyway. Please consider my suggestion above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: syntax error near print
by mariannapac (Initiate) on Jul 24, 2012 at 11:50 UTC |