Hi,

On Samstag, 15. Februar 2014, Holger Levsen wrote:
> matrix:~$ cat /etc/fdpowermon/theme.pl
>          sub suspend {
>                 system("sudo pm-suspend");
>          }
> 
>          my $theme = fdpowermon::theme::get_theme("mytheme");
>          $theme->set_event(0, \&suspend, 'd');

with that I also get this when running fdpowermon:

$ fdpowermon 
Can't call method "set_event" on an undefined value at 
/etc/fdpowermon/theme.pl line 6.
Compilation failed in require at /usr/bin/fdpowermon line 478.


cheers,
        Holger

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to