May be You newbee in linux too.
You go to terminal. You run script from which folder? Where begpirl folder? May be in folder where you are not persent begpirl folder?
be carefully when run script.
For first time, may be you can use direct path to script?
as example: perl /home/user/begperl/newline.pl
Sorry for my poor English...
Comment on Re: perl can't find my script on ubuntu
Yes, I'm new to Ubuntu - sorry I should've mentioned that.
I'm running the script from my home folder. Thats why when I ran the helloworld.pl file I had to specify the folder as perl begperl/helloworld.pl I'm just not sure why the same method isn't working with the new file newline.pl It's saved in the same folder.