You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2004/07/28 10:48:50 UTC
RE: Problem with split function
> [- @field = split(".",$script) -]
Split interprets "." as regex, so you need to escape it, so better write
[- @field = split(/\./,$script) -]
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org