On Sat, 15 Aug 2009, Timothy S. Nelson wrote:

Considering, though, that we're talking about a magic perl quoting syntax, we could offer people the option of the following two:

q:io{C:\Windows} # Does what you want
q:io:qq:{C:\\Windows} # Does the same thing

        Wouldn't that cover the bases pretty well?

        My bad -- try these:

        $file = "foo"

        Q:io{C:\Windows\$file} # Results in "C:\Windows\$file"
        q:io{C:\\Windows\\$file} # Results in the same thing
        qq:io{C:\\Windows\\$file} # Results in "C:\Windows\foo"

        HTH,


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayl...@wayland.id.au    | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

Reply via email to