Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Undefined subroutine &Win32::BuildNumber called at test.pl line 61.

Status
Not open for further replies.

devilhimself

Programmer
Nov 17, 2003
4
US
I am trying out Win32 modules with some perl code. I have included the following line:
use Win32;

And later in the code I use the following line:
$x = Win32::BuildNumber();

When I compile and run the code, it throws the error:
Undefined subroutine &Win32::BuildNumber called at test.pl line 61.

Any idea what could possibly be wrong ? From what I understand, it seems like it is an old version of the Win32.pm which doesnt have the subroutine BuildNumber() method. Does anyone have the latest version of Win32.pm which has these subroutines ?

Thanks,
vV
 
Hi,

I would use ppm to update the module

start a command window:
ppm
install Win32

Mike

"Deliver me from the bane of civilised life; teddy bear envy."

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
sorry...

update, not "install"

Mike

"Deliver me from the bane of civilised life; teddy bear envy."

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top