spurperl has asked for the wisdom of the Perl Monks concerning the following question:


I use the Win32::API module in some projects to access C-written DLLs on Windows machines (both system DLLs like the Win32 API, and custom written C code wrapped in DLLs). Lately, I ran into functions that accept optional arguments (supposedly they have some default value which isn't documented). The desired behavior is the one that happens when I pass nothing to the function.

Is there a way to express optional arguments with Win32::API ?

Thanks in advance