Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
(That's what I would do in Python, with Python syntax of course).my $test = "Hello World!"; print $test[0];
What is the best way to do this in Perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: first char of string?
by vroom (His Eminence) on Mar 11, 2000 at 03:31 UTC | |
|
Re: first char of string?
by Anonymous Monk on Mar 13, 2000 at 11:20 UTC | |
|
RE: first char of string?
by Anonymous Monk on Mar 11, 2000 at 03:27 UTC | |
|
RE: first char of string?
by Anonymous Monk on Mar 11, 2000 at 10:07 UTC | |
|
Re: first char of string?
by Anonymous Monk on Mar 13, 2000 at 10:51 UTC | |
by Anonymous Monk on Mar 14, 2000 at 19:28 UTC |