Perl cookie example

Last updated on November 18th, 2015 at 03:37 amClick to rate this tutorial! [Total: 1 Average: 4]Below is the valid parameters that can be used when a cookie is being called using perl script, Below you will find how to use perl cookie with example. -domain a partial or complete domain name for which the […]

How to get current date and time using perl

Last updated on February 17th, 2022 at 07:11 pmClick to rate this tutorial! [Total: 2 Average: 3]This is one of the perfect way of displaying respective server date and time using Perl. We are making use of sprintf and localtime. There are multiple methods to get date but here I am following the simplest one […]

Redirect to another page using Perl

Last updated on February 17th, 2022 at 06:59 pmClick to rate this tutorial! [Total: 0 Average: 0]Sometimes there will be a requirement for websites to redirect users to different location. For example in case of a perl application, once authenticated if the user belongs to a specific group then that user can be redirected to […]

How to find file size using perl

Last updated on August 6th, 2022 at 05:07 pmClick to rate this tutorial! [Total: 0 Average: 0]Find the size of a file using perl and display it in KB (Kilo Bytes). You need to provide the name of the file which the size needs to be checked as an argument and the script will return […]