From: Michael Stapelberg Date: Mon, 26 Sep 2011 18:25:38 +0000 (+0100) Subject: Bugfix: The synopsis mentioned ->workspaces, but it’s ->get_workspaces X-Git-Tag: 4.14~14^2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62749590294edb97cdfb5f2316b90f9e13b9e113;p=i3%2Fi3 Bugfix: The synopsis mentioned ->workspaces, but it’s ->get_workspaces --- diff --git a/lib/AnyEvent/I3.pm b/lib/AnyEvent/I3.pm index d191241c..36642643 100644 --- a/lib/AnyEvent/I3.pm +++ b/lib/AnyEvent/I3.pm @@ -41,7 +41,7 @@ then subscribe to events or send messages and receive their replies. use AnyEvent::I3; - my $workspaces = i3->workspaces->recv; + my $workspaces = i3->get_workspaces->recv; say "Currently, you use " . @{$workspaces} . " workspaces"; =head1 EXPORT