in reply to Re: Re: qw with comma delimiter (repost)
in thread qw with comma delimiter

Like many others I don't understand why using qw() is a must

Note: I never said qw// was a must. Nor do I have a "fetish" with it.

Single quoting separated by commas should do exactly what you want.

The data will contain quotes. Let's say it can contain anything. Any possible character or combination of characters. How can I properly delimit this and prevent interpolation at the same time?

  • Comment on Re: Re: Re: Delimiting complex data (was qw with comma delimiter (repost))

Replies are listed 'Best First'.
Re: Re: Re: Re: Delimiting complex data (was qw with comma delimiter (repost))
by eric256 (Parson) on Jul 27, 2003 at 03:41 UTC
    If the data can contain anything then there is no way to delimit it, as by definition it could contain the delimiter. Therefore you may need to rethink the way you are storeing the data. Is there a problem with single qoutes and then escaping newlines and qoutes (single and double)? The other option would be to use highly unlikely combinations of characters, like '...|||...' or anything else. ___________
    Eric Hodges