Re: ref() is not reporting correctly

2004-08-05 Thread Jenda Krynicky
From: Rich Fernandez <[EMAIL PROTECTED]> > I have a hash which looks something like this: > %hash = ( foo => 'a', bar => 'b', filespec => "$filespec"); > > I also have a function which includes the following code: > ># Figure out if we were passed a filename or an array ref >if ( exists

ref() is not reporting correctly

2004-08-05 Thread Rich Fernandez
I have a hash which looks something like this: %hash = ( foo => 'a', bar => 'b', filespec => "$filespec"); I also have a function which includes the following code: # Figure out if we were passed a filename or an array ref if ( exists $info -> {filespec} ) { $filespec = $info ->