App-RoboBot

 view release on metacpan or  search on metacpan

lib/App/RoboBot/Plugin/Core/Compare.pm  view on Meta::CPAN


=head3 Usage

<operand> <operand>

=head2 lt

=head3 Description

String ordinality test. Returns 1 if ``a`` sorts before ``b`` according to the
collation rules of the locale in which the bot is running. Returns 0 otherwise.

=head3 Usage

<operand a> <operand b>

=head3 Examples

    (lt "abc" "def")

=head2 gt

=head3 Description

String ordinality test. Returns 1 if ``a`` sorts after ``b`` according to the
collation rules of the locale in which the bot is running. Returns 0 otherwise.

=head3 Usage

<operand a> <operand b>

=head3 Examples

    (gt "zyx" "abc")

=head2 ne

lib/App/RoboBot/Plugin/Core/Compare.pm  view on Meta::CPAN


=head3 Usage

<operand a> <operand b>

=head2 cmp

=head3 Description

String comparison. Returns -1 if ``a`` collates before ``b``, 1 if ``b``
collates first, and 0 if they are equal. Collation uses the locale under which
the bot is running.

=head3 Usage

<operand a> <operand b>

=head2 ==

=head3 Description

share/ubuntu-xenial-16.04-cloudimg-console.log  view on Meta::CPAN

[  OK  ] Started Accounts Service.
[  OK  ] Started LSB: daemon to balance interrupts for SMP systems.
[  OK  ] Started Terminate Plymouth Boot Screen.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started Serial Getty on ttyS0.
         Starting Set console scheme...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Set console scheme.
[  OK  ] Started LSB: VirtualBox Linux Additions.
[   21.303292] cloud-init[1137]: Generating locales (this might take a while)...
[  OK  ] Started Pollinate to seed the pseudo random number generator.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[   22.365686] cloud-init[1137]:   en_US.UTF-8... done
[   22.400682] cloud-init[1137]: Generation complete.
         Stopping OpenBSD Secure Shell server...



( run in 0.839 second using v1.01-cache-2.11-cpan-ceb78f64989 )