1

Bash error message on a mac using Perl

view story
linux-howto

http://unix.stackexchange.com – I'm trying to run basic functions on Perl (Mac) but I get the same error message all the time. I manage to run programs (the simple 'hello, world' example works fine: $ perl -w hello.pl Hello World But when I try different things, such as assigning a value to a variable, it gives me a message such as: $number = 13*2; -bash: =: command not found Commands such as list seem to work, but I get the bash error all the time. I read that it could be related to the path but not sure how to exactly verify this and what's the bash doing here. (HowTos)