Hi,
I'm trying to establish some errorhandling in my script to output to a logfile. Somehow I can't get this to work:
print LOG "login failed\n" if !(Vim::login(
service_url => $service_url,
user_name => $username,
password => $password));
in an error case I get the output on the console, but not in the logfile... How could that be done?
Lars