|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Strange globbing of * in query
Date: Sep 19 2000 9:05PM
David J Iannucci writes:
> Hi,
> I'm using Sybase::DBlib from a recent version of SybPerl
> (2.12 maybe?) with a recent Perl and ASE 11.5.
>
> I've got some code that sometimes, for some
> reason, takes the * in a piece of SQL like
>
> "select * from table where blah blah"
>
> and globs my home directory in! I.e. the query
> ends up as
>
> "select Dir1 Dir2 File1 File2 File3 from table ..."
>
> where the Dirs and Files are names that appear in
> my home directory. At first I suspected Perl, but I
> can't find anywhere in the code that would suggest
> that Perl was interpreting that as a glob, and the
> newsgroup comp.lang.perl.misc assures me that Perl
> would never try to glob a simple * in a double-quoted
> string.
I'd love to see the actual code... I saw the thread in
comp.lang.perl.misc, but I really don't know what could cause this - I
definitely haven't seen anything like this before.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|