is this scary or what? LOL :)
On Thu, 31 Jan 2002, Deen Hameed wrote: > > the ? is a special character within a regular expression (which is what > the two /s inside split contain). If you want to split on the ?, you'll > have to escape it, like \? > > Have a look at perldoc perlre for what regular expressions are about. > > deen > On Thu, 31 Jan 2002, Hanson, Robert wrote: > The question mark is a special character in a regular expression meaning > "zero or one" and *must* follow a character or character class. > > If you want to split on the question mark character you need to escape it so > that it no longer has special meaning. Like this: > > split(/\?/,$testdata); > > Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]