Harry Putnam wrote:
>
> Excuse my skull bone density... not sure I follow this. Not sure I
> see how `chop' does anything to `\'
>
> [...]
>
assume your program is named scan.pl, what happen is you call it:
scan.pl '\'
your script always assume user will be entering a valid reg to use. i am
suggest that you should not trust the user on that. there is a good chance
that your user will not supply a valid reg. in that case, your program will
crash. you should trap that with the eval{} or with quote your reg before
passing it to Perl
david
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]