dtrwbr
Programmer
- Apr 3, 2008
- 2
Hi,
I have a script that runs fine on multiple machines and OSs.
However, I have a friend reporting an error I haven't encountered before on a mac (OSX i believe).
First, the error:
Bareword found where operator expected at - line 24, near "/users/jason"
(Missing operator before jason?)
Thing is, "/users/jason" is not in the script, but is passed as an argument, and that's not the full path thats passed either (the full path is to a file on the desktop).
second, if the script is run again with the same args, the line number for the error increases.
Is this a corrupt version of perl or something?
I have a script that runs fine on multiple machines and OSs.
However, I have a friend reporting an error I haven't encountered before on a mac (OSX i believe).
First, the error:
Bareword found where operator expected at - line 24, near "/users/jason"
(Missing operator before jason?)
Thing is, "/users/jason" is not in the script, but is passed as an argument, and that's not the full path thats passed either (the full path is to a file on the desktop).
second, if the script is run again with the same args, the line number for the error increases.
Is this a corrupt version of perl or something?