Skip to content

Commit

Permalink
coerce to string for string concat.
Browse files Browse the repository at this point in the history
(pass a few more tests in t/cmd_proc.t)
  • Loading branch information
coke committed Nov 29, 2009
1 parent 6718aef commit 7948a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PmTcl/Commands.pm
Expand Up @@ -4,7 +4,7 @@ our sub append($var, *@args) {

my $result := $lexpad{$var};
while @args {
$result := $result ~ @args.shift;
$result := ~$result ~ @args.shift;
}

set($var, $result);
Expand Down

0 comments on commit 7948a6f

Please sign in to comment.