in reply to Is there a module for object-oriented substring handling/substitution?
Do you know that a reference to substr works as you described?
my $string = 'abcdefghijklmnopqrstuvwxyz'; my $substring = \substr $string, 10, 10; $$substring = uc $$substring; print $string, "\n";
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Is there a module for object-oriented substring handling/substitution? (2 substrs)
by tye (Sage) on Jan 25, 2013 at 01:57 UTC | |
by BrowserUk (Patriarch) on Jan 25, 2013 at 02:37 UTC | |
by tye (Sage) on Jan 25, 2013 at 03:15 UTC |
In Section
Seekers of Perl Wisdom