Samurai Monkey has asked for the wisdom of the Perl Monks concerning the following question:
2) Next, the book instructs me to go my command terminal and create two directories. The way it instruct me, is that it tells me to type the following in the command terminal:#!/usr/bin/perl use warnings; print "Hello World!\n";
3) Next the books instructs me to save the file from step 1 as helloworld.pl and save it in the directory that was made. What confusing to me is, I do not know exactly which directory it's referring me to - I should also point out I'm somewhat new to Ubuntu as well (been using it for 2 weeks now) so perhaps I just dont know how to save it properly? 4) The book asks me to go to my command terminal and type the following: $ perl helloworld.pl and the book shows that it's supposed to show up on the screen as Hello World! Thats really where I run into my problem. You see, every time I try to run it, it tells me it cannot be ran, because no such files or directory exist. But, I followed every step to the letter, I dont know why it's saying it doest find anything. In fact, I navigated to the actual 2 directories I was instructed to create, and I found the .pl file there. So I'm actually stuck, and I'm not sure exactly what I'm doing wrong. Please help out dear monks :) -Samurai Monkey$ mkdir begperl $ cd begperl
|
|---|