in reply to Replacement of Bracketed Expressions for JSON output
(my $newnode = $node) =~ s/.*/[1,39,2,45]/s;
I personally would forgot using s///.
my $newnode = '[1,39,2,45]';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Replacement of Bracketed Expressions for JSON output
by Ardii (Initiate) on Feb 28, 2011 at 07:32 UTC | |
by roboticus (Chancellor) on Feb 28, 2011 at 10:55 UTC | |
by ikegami (Patriarch) on Feb 28, 2011 at 17:07 UTC |