On 03/07/2012 08:41 AM, lina wrote:
> $ ./substr_accessing_examples.pl
> Undefined subroutine&main::subst called at
> ./substr_accessing_examples.pl line 15.
On 03/07/2012 09:02 AM, Brock wrote:
> I think you mean 'substr' instead of 'subst'.
Typographic errors are maddening; I make them all the time...
A drawback with online documentation is that you need to know the right
question and how/ where to ask it. The Search box of the Perl
Programming Documentation web site was able to find the substr function
given the subroutine name from the above error message (the part that
follows "&main::"):
http://perldoc.perl.org/search.html?q=subst
An advantage of good, printed books is that they have a Table of
Contents and an Index. Do you have the three books I suggested?
http://www.mail-archive.com/beginners%40perl.org/msg113268.html
David
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/