Like the previous post commented, you may not be at the right directory. For example, may be missing a preceeding '/' such as... perl /begperl/newline.pl.
I encountered this problem often and anymore CD to the required directory before running anything.
In reply to Re: perl can't find my script on ubuntu
by RedElk
in thread perl can't find my script on ubuntu
by Samurai Monkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |