Tim,
I tried your way and I got a runtime error, "Undefined subroutine 
&Win32::MsgBox called at ...". However, if I call the method MessageBox() on a 
window object, it's all good. Halfway through this email I realized what you 
did wrong; shouldn't it be:

Win32::GUI::MessageBox(
    0,
    "Do you want to do this?",
    "Title",
    MB_ICONINFORMATION | MB_YESNO,
);

well at least this works for me. One question, what does the zero do? Make it 
modal?

erick
never stop questioning
www.jeb.ca

Reply via email to