Hello to everyone,
I 'm new in perl programming, i downloaded lots of tutorials, and i also bought a book. So i started two days ago studing perl. I think i will have have lots of question till i get to know perl that good, and some of them, might sound stupid but there is no other way to answer my questions exept asking you guys. Thanks in advance for your help and your time.
I read in the book that there is a CGI something way to program with perl, what is this CGI?
and as i go on the pages writing the code this guy explains
i got these two lines
$name = ~ s/\W.*//;
$name = ~ tr/A-Z/a-z/;
he says that they are for cutting unwanted characters from the main name that you type, and also for turning all the capitals to small characters.
but the problem is this:
Use of uninitialized value in substitution (s///) at C:\Documents and Settings\P
engo\My Documents\Perl Code\Text-1.pl line 26, <STDIN> line 2.
Use of uninitialized value in transliteration (tr///) at C:\Documents and Settin
gs\Pengo\My Documents\Perl Code\Text-1.pl line 27, <STDIN> line 2.
and the program goes on without changing any capital characters.
are the two commands spelling different, is it a syntax error?
I 'm new in perl programming, i downloaded lots of tutorials, and i also bought a book. So i started two days ago studing perl. I think i will have have lots of question till i get to know perl that good, and some of them, might sound stupid but there is no other way to answer my questions exept asking you guys. Thanks in advance for your help and your time.
I read in the book that there is a CGI something way to program with perl, what is this CGI?
and as i go on the pages writing the code this guy explains
i got these two lines
$name = ~ s/\W.*//;
$name = ~ tr/A-Z/a-z/;
he says that they are for cutting unwanted characters from the main name that you type, and also for turning all the capitals to small characters.
but the problem is this:
Use of uninitialized value in substitution (s///) at C:\Documents and Settings\P
engo\My Documents\Perl Code\Text-1.pl line 26, <STDIN> line 2.
Use of uninitialized value in transliteration (tr///) at C:\Documents and Settin
gs\Pengo\My Documents\Perl Code\Text-1.pl line 27, <STDIN> line 2.
and the program goes on without changing any capital characters.
are the two commands spelling different, is it a syntax error?