Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl error, line number increases with no change to file

Status
Not open for further replies.

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?



 
problem solved. The .csv wasn't actually a csv.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top