develooper Front page | perl.beginners | Postings from March 2002

Re: string indexing

Thread Previous | Thread Next
bob ackerman
March 4, 2002 12:52
Re: string indexing
Message ID:
now that is clever! what is the literal meaning/function of the '+'.
of course, one still must know that a leading paren will be seen by 'print'
  unless there is some intervening dummy character. that's ok.

On Monday, March 4, 2002, at 12:15  PM, John W. Krahn wrote:

> print +(split //, "abcd")[1], "\n";

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About