The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Win32::Wallpaper - Modify Win32 Wallpaper


        use Win32::Wallpaper;

        wallpaper("image.bmp", "tile");


With this Win32 module, you can set a new wallpaper image and style. Three styles are supported: center, stretch, and tile. Only Window BitMaP (BMP) images are supported at this time.

You can also get the current wallpaper by calling the function without parameters. For example:

        my $current_wallpaper = wallpaper();


This will probably be the last release of this module, as I continue working on a module that will support the activedesktop interface.


Mike Accardo <>


   Copyright (c) 2003, Mike Accardo. All Rights Reserved.
 This module is free software. It may be used, redistributed
and/or modified under the terms of the Perl Artistic License