in reply to Using File::Basename and $ARGV[]

What input are you giving? And what output are you expecting? Oh, and what operating system is this running on?

(when I used single quotes, which I see is wrong now)

Assuming you mean fileparse("$org_fn", ...), there are no quotes needed there at all. See the FAQ What's wrong with always quoting "$vars"?.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^2: Using File::Basename and $ARGV[]
by chinamox (Scribe) on Oct 23, 2006 at 15:30 UTC

    Thank you for the link. You were right, I needed to dump the quotes and keep it simple. I am trying to run this on a *INX box and will include that information in my future posts.

    Best

    -mox
      You were right, I needed to dump the quotes and keep it simple.

      Just to be picky... you didn't need to dump the quotes, but you didn't need them in the first place. That is, using them doesn't make for a syntax or semantics error. Simply, it won't do anything (unless of course you've overloaded double quotes) and it will have some disadvantages as evidenced in the FAQ entry you've been pointed to.