I have been a active state perl user on windows. There if I type
tele.pl params
on the console, the perl interperter automatically comes into play. also I can run this from anywhere so long as the directory which contains my tele.pl script is in the path.
Now I am on linux (mandarke 9.2, gnome 2.4) and I try to do the same thing (add my script directory to the path)
but I get a slew of errors
/mnt/windows/myapps/perl/hptele.pl: line 1: use: command not found : command not found/perl/hptele.pl: line 1: /mnt/windows/myapps/perl/hptele.pl: line 2: use: command not found : command not found/perl/hptele.pl: line 2: : command not found/perl/hptele.pl: line 3: /mnt/windows/myapps/perl/hptele.pl: line 4: my: command not found : command not found/perl/hptele.pl: line 4: : command not found/perl/hptele.pl: line 5: /mnt/windows/myapps/perl/hptele.pl: line 6: syntax error near unexpected token `defined' 'mnt/windows/myapps/perl/hptele.pl: line 6: `unless (defined($namePattern))
I will grately appriciate any help in this regard.
regards,In reply to assosiating .pl files with perl on linux by abhishes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |