E5o
July 5th, 2007, 10:31 AM
Greetings
I have been using a Perl script bax (http://www.smalltime.com/gene/bax.html) to do backups for years on my OSX box.
Please bear in mind, I am no programmer as such.
But when I try it on my linux box it gives me this error message:
chdir('') and chdir(undef) are deprecated
After some reading on Perl.org I get this:
Using chdir('') or chdir(undef) instead of explicit chdir() is doubtful. A failure (think chdir(some_function()) can lead into unintended chdir() to the home directory, therefore this behaviour is deprecated.
So, my question is: How can I use chdir(' ') the correct way in Perl 5.8.8?
Thank you
I have been using a Perl script bax (http://www.smalltime.com/gene/bax.html) to do backups for years on my OSX box.
Please bear in mind, I am no programmer as such.
But when I try it on my linux box it gives me this error message:
chdir('') and chdir(undef) are deprecated
After some reading on Perl.org I get this:
Using chdir('') or chdir(undef) instead of explicit chdir() is doubtful. A failure (think chdir(some_function()) can lead into unintended chdir() to the home directory, therefore this behaviour is deprecated.
So, my question is: How can I use chdir(' ') the correct way in Perl 5.8.8?
Thank you