Help for this page

Select Code to Download


  1. or download this
    carp "xyz";
    return;
    
  2. or download this
    return $self->log_error("xyz");
    
  3. or download this
    sub log_error {
      carp $_[1];
      return;
    }
    
  4. or download this
    use Subclass::Of "WebService::Discord::Webhook",
      -as => "MyWebhook",
    ...
    ...;
    
    my $webhook = MyWebhook->new(...);