Skip to content

Commit

Permalink
Insure string is a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Nov 30, 2009
1 parent 04106f2 commit d9e1e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PmTcl/commands/main.pm
Expand Up @@ -330,7 +330,7 @@ our sub split(*@args) {
error('wrong # args: should be "split string ?splitChars?"')
}

my $string := @args[0];
my $string := ~@args[0];
my $splitChars := @args[1] // " \r\n\t";

if $string eq '' {
Expand Down

0 comments on commit d9e1e35

Please sign in to comment.