thanks John & Martin - answered it perfectly,

now my other question was whether one can / should do any sort of checking
on files uploaded using CGI.pm in the way that you use regular expressions
to untaint data,
Waspcatcher

> By putting brackets round the section of the regex you want, perl will
store
> that data in the special $1 variable (it's read only so assign to another
> var if you want to make changes. Also the next time you match $1 is
> overwritten). You can pull multiple values out of the same regex by
putting
> multiple () round different sections. The results are stored in $1, $2, $3
> etc in the order of the match.
>
> HTH
>
> John
>




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to