|Welcome to the Monastery|
Forcing array contextby jens (Pilgrim)
|on Nov 22, 2002 at 05:20 UTC||Need Help??|
jens has asked for the
wisdom of the Perl Monks concerning the following question:
'perldoc -f scalar' unhelpfully tells me:
I want to use a scalar $string in a very C-like way,
that is I want to run through the @string character
by character, fiddling with chars along the way.
I've tried the above suggestion, as well as:
but I can't see how either syntax can be used. Any suggestions?
Before you ask why I don't just do this in C, it's because I want
to see if it can be done in Perl.
Microsoft delendum est.