http://learn.perl.org/library/beginning_perl/
I've been using this website to try and learn perl but im stumped on one part in chapter 1
It says make a begperl directory, which i have one.
the second step is to open an editor to add the lines it tells me to inside it.
How do I do this? :O How do I open an editor i mean to add the lines and save it as a .pl file.
Also I don't know if this makes a different but I have perl -v
edit: here is what its asking me
step 1: open your terminal cd to your home directory did that
step 2: mkdir begperl and then cd to begperl and i did that( it actually said i already had a directory with that name)
step 3: open your favirote editor and edit hello.plx ( how do i do this? lawl)
step 4: confirm that perl is installed in /usr/bin/perl ( not sure if it is, and if it isnt does it really matter? Also does it matter if my version of perl is only perl -v? )
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
new to perl
It's going to have you create the script in whatever your favorite text editor is. vi is installed by default, so you could do
vi hello.pl
Vi can be hard to understand at first, their are numerous text editors, and everybody has their favorites. Personally I found joe easy to use and powerful enough for the command line.
Perl will be installed in /usr/bin/ by default, you can always verify this by
which perl
That will show you where it is located.
vi hello.pl
Vi can be hard to understand at first, their are numerous text editors, and everybody has their favorites. Personally I found joe easy to use and powerful enough for the command line.
Perl will be installed in /usr/bin/ by default, you can always verify this by
which perl
That will show you where it is located.