tempfoo has asked for the wisdom of the Perl Monks concerning the following question:
I'm asking because it doesn't work. Thanks for any pointers....$ref=\(split(//, "tempfoo")); print $ref->[0], "\n"; # should print "t"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: return a reference to the result of a function
by grantm (Parson) on Nov 22, 2002 at 18:48 UTC | |
|
Re: return a reference to the result of a function
by particle (Vicar) on Nov 22, 2002 at 18:51 UTC | |
|
Re: return a reference to the result of a function
by dvergin (Monsignor) on Nov 22, 2002 at 23:48 UTC |