Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Re: A_Modest_1_bit_Proposal_about_Quotification_-_making_the_Default_Easy

Thread Tools

Re: A_Modest_1_bit_Proposal_about_Quotification_-_making_the_Default_Easy

Tim McCaffrey
Posts: n/a
In article <(E-Mail Removed)>, Removed)

>Q: what would a "securely composable shell scripting language" look like?

Instead of using quotes, allow parameters to be passed with explicit lengths:

Select where name=<length of name>:<name>

(SQL is not something I use, so just take that as a generic example)


I input "find me" for name (without the quotes).

The script determines the length of "find me" (7) and passes:

Select where name=7:find me

No new character sets, no way to confuse the parser, etc.

(Pascal really did get it right the first time)

- Tim

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off