Wednesday 9 March 2022

perl Log::Log4perl Tutorial

Log::Log4perl is a powerful and flexible logging framework for Perl. It allows you to log messages to multiple output destinations with varying levels of detail and can be configured in many different ways to suit your specific needs. In this tutorial, we'll cover the basics of using Log::Log4perl and provide detailed code examples to help you get started.

Installation

To install Log::Log4perl, you can use cpanm, the Perl package manager. Simply open a terminal and run the following command:

cpanm Log::Log4perl

Read more »

Labels:

Wednesday 9 February 2022

Perl - secure web services using Logging and monitoring

Logging and monitoring are critical components of any secure web service. By keeping detailed logs of all activity and monitoring those logs for suspicious activity, we can detect and respond to security threats in a timely manner.

Here's an example code snippet that demonstrates how to implement logging and monitoring in Perl web services using the Log::Log4perl module:

Read more »

Labels:

Saturday 11 March 2023

How to Build an Authentication API with JWT Token in Perl

Hi, In many web applications, user authentication is a critical feature that allows users to securely log in and access their data. One common approach to implementing authentication is to use JSON Web Tokens (JWT), which are a type of token-based authentication that can be used across multiple domains and platforms.

In this tutorial, we will show you how to build an authentication API with JWT token in Perl. We will be using the Mojolicious web framework, which is a powerful and flexible framework that makes it easy to build web applications in Perl.

Read more »

Labels: , , ,