Swampi has asked for the wisdom of the Perl Monks concerning the following question:
The print statement prints "dir/dir/dir/file.ext". However in $aFile the file path is prepended with "? >- \n ".$filePath = $ioObject->pathname; print $filePath; . . . #sets myObject attribute myPath to $filePath $myObject->myPath($filePath); Dump($myObject) > $aFile;
Any idea what that is all about? Evena suggestion about whether it is being caused by YAML or IO::All, would be good. I'm fairly sure it doesn't have anything to do with the way I am setting attributes in my object, as it only happens with attributes which are paths retrieved from IO::All objects.
Many thanks,
Swampi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: YAML and IO::All
by Fletch (Bishop) on Apr 21, 2005 at 13:08 UTC | |
by Swampi (Initiate) on Apr 21, 2005 at 13:20 UTC | |
|
Re: YAML and IO::All
by piroufreek (Acolyte) on Apr 21, 2005 at 12:54 UTC |