I have a perl file pe.pl

-----------------------------------
#!/usr/bin/perl
use warnings;

$scalar = "5";
print $scalar * $scalar,"\n";
print "Hello World!";
---------------------------------

when i type ./pp.pl it works 
Now i write anoterh scrpit file pp

---------------------------------
#script file pp
pe.pl>out

----------------------------------
I expected that it will work the same when i type pp as when i type
./pe.pl

but instead i got a error message

"bash: pp: command not found" 

why and how to fix this problem?

Thanks




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to