On Fri, Sep 30, 2011 at 04:44, Eric Brine <ikegami@adaelis.com> wrote: snip >> >> open FOOBAR, "file", "mode"; >> >> FOOBAR doesn't look like a simple scalar. Doesn't need quotes, has no $ >> ... >> Why do you consider it a simple scalar? > > It's a glob, which is a scalar. I could have sworn FOOBAR in that case was just a bareword (and there for just "FOOBAR") not a glob. I do know that open "FOOBAR", ">", $file or die "could not open $file: $!"; works. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read.Thread Previous | Thread Next