Do you know where your variables are? | |
PerlMonks |
assosiating .pl files with perl on linuxby abhishes (Friar) |
on Apr 29, 2004 at 07:13 UTC ( [id://349036]=perlquestion: print w/replies, xml ) | Need Help?? |
abhishes has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I have been a active state perl user on windows. There if I type 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,Abhishek.
Back to
Seekers of Perl Wisdom
|
|