Hi..maybe someone could shed some light on a mkdir() problem I'm having. Basically, I have the following code;
...but that gives me an error;
I don't get this on *all* servers (about 3 in 10). I've tried changing it to;
.. but that still gives me the same error.
Anyone got any ideas? I just can't understand why it works on some version of Perl, and not others
TIA.
Andy
Code:
mkdir("$CFG->>{admin_root_path}/Net/Whois/Raw") || die "Can't create folder. Reason: $;
...but that gives me an error;
Code:
Not enough arguments for mkdir at (eval 8) line 83, near
I don't get this on *all* servers (about 3 in 10). I've tried changing it to;
Code:
mkdir($CFG->>{admin_root_path} . "/Net/Whois/Raw") || die "Can't create folder. Reason: $!";
.. but that still gives me the same error.
Anyone got any ideas? I just can't understand why it works on some version of Perl, and not others
TIA.
Andy