Tad said:
It does:
perl -MO=Deparse -e '(<FILE)>)'
use File::Glob ();
glob('FILE)');
-e syntax OK
It does not parse, with warnings enabled, in the code the OP posted.
Yes, of course it _parses_ when you take it out of context. And yes,
when you take it out of context, it *is* a glob. Of course, I was
saying it was invalid and broken in regard to their own code they
posted. Replying and taking that out of context saying that one single
part of code does parse, is kind of a weak argument (and I don't see
the reason for an argument).
That part is probably correct though.
You think?
Yeah, but not _intentionally_ and _not_ in the code the OP posted. Yes,
it _is_ an unintentional glob in their code, which (when in their code)
doesn't parse.
It was not *meant* to be a file name glob,
Exactly, and just saying it is not incorrect code and parses, all
because that's how it reads from a typo in the OP's code, is hardly
reason to call it what it _could_ be if taken out of context. If you
want to sarcastically say "but it is" for that reason, then so be it,
but I don't see the point and it absolutely doesn't apply to what I
said in direct response to their posted code.
but the typo it contains
just happens to result in a valid syntax.
Right. And, like I said, in their code it's broken and their intention
was not to have a glob. Why do you feel the need to argue about it?
There is no need to assume. We can simply ask perl, as above.
Yeah, so "ask perl" by using their originally posted code, as is. Then,
for to endless sake of making a point about a portion of code taken out
of context to prove a trivial and irrlevant point, please post and tell
me I'm wrong and that it does parse. Yeah, no kidding, when you take
it out of the broken code and apply it in a manner which you can
rightfully call it a glob and make it parse. Are you bored?
Everybody gets to be wrong once in a while, now is your turn, I guess.
Everyone has someone attack them and accuse them of being wrong on this
newsgroup without provocation once in a while, now it is my turn, I
guess.
Indeed, we can't have someone make a relevant point about the actual
reply they made, else you might not be able to find a reason to mock
someone here for no reason. It's not that I don't appreciate your
efforts, and please excuse me for trying to be a part of this newgroup
by showing respect and posting relevant replies, only to have a regular
rip into me for it, all for the sake of what, exactly? What explains
this attitude? Once again, my reply was correct and relevant to the
OPs code, I didn't say that the same code (taken out of context)
couldn't be technically something else or parse, now did I? Have I
done something to offend you?
Due to a typo and that was the _point_ of asking the OP to post the
actual code used, because none of this is relevant other than egoism
and nitpicking about a matter that is nothing more than a typo. Big
deal if it turned out to be a glob because of a typo, it wouldn't have
worked in their code, and it wouldn't parse. Talk about circular
logic! There's really just no way out of this, because it's easier to
just dismiss the historical and logical path the thread here took.
Fine.
He was not commenting on the problem with (<FILE)>), so
that is not relevant.
He was commenting in response to my statement that the code was broken
(which it is), and regardless of what you want to take out of context
to argue a trivial point, I reiterated to him how it actually would
_not_ parse. I never argued that, if taken out of context, that it
couldn't be a glob (or wasn't), I said it wasn't in what the user
intended.
He was commenting on the "doesn't even parse" statement, as it
clearly *does* parse.
But, it _doesn't_ parse -- not in the code the OP posted. Twist it
anyway you want, but that's all I said (because the reply was in regard
to that and that is what my follow-up was about). If you want to take
it out of context or find a way to make it fit, fine, but for the code
the OP posted, it _does not_ parse
That's all I said (in regard to that, not him taking a portition of code
out of context to say it's not broken, when it clearly is). If someone
can't point out the obvious brokenness in the code someone posts and
ask them to please post the actual code without this sort of nonsense,
then why even pretend you have any respect for anyone else here?