use strict; use warnings; use Inline C => Config => LIBS => '-luser32'; use Inline C => << 'CODE'; #include int Winbox(char* Caption, char* Text) { return MessageBoxA(0,Text,Caption,0); } CODE my $text = 'don\'t let me down!!!'; Winbox('Inline Text Box', $text); __OUTPUT__ C:\Documents and Settings>perl -c winbox.pl Can't open C:\Documents\config for output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\_Inline\config. at winbox.pl line 27 BEGIN failed--compilation aborted at winbox.pl line 32.