Welcome to my blog !

Find Array size in Perl with Code example

January 9, 2023 ·  2 min read

The array contains a list of elements unordered. Sometimes, you need to find the number of elements i.e size. This post talks about multiple ways to know the size of an array in Perl with code examples. Perl Array length examples Perl allows us to use an array in a list and scalar context. In List Content, Array returns the list of elements. Scalar Context, Array return size of an element...

Different ways to convert String to number in Perl with code examples

January 9, 2023 ·  3 min read

This tutorial explains multiple ways to convert a String to a Number in Perl with Code examples. Use String variable by append with a number o using the + operator.For example, "123"+0 returns number 123. use the Int type constructor. For example, int("111") returns 111 sprintf function, Assign the result sprintf("%d", "98"); and variable holds number 98 How to Convert String to Number in Perl? using string append with + Symbol The string contains a group of characters and letters, enclosed in double or single quotes in Perl....

Complete Angular UI library |Primeng Components

January 9, 2023 ·  3 min read

In this post, We will go through the what is Primeng Framework, explains about different UI components . What is Primeng? Primeng is a popular Angular Framework UI library. This was created by the Primefaces team at Primetek company. Primetek has created rich UI libraries for different languages. Primefaces is a java library for JSF UI reusable components. PrimeUI HTML5 JQuery UI framework Primeng UI library is based on typescript language for the Angular framework....

Check File and directory exists in Perl code example

January 9, 2023 ·  2 min read

This tutorial explains checking file or folder that exists in Perl programming with code examples. It is very helpful before accessing files or folders in Perl. Check File exists or not in Perl use the -e existence operator that checks file path exists or not. use this option in conditional statements if and print the statement. $file="c://work/abc.pdf"; if( -e $file){ print("File exists"); } The same way can be rewritten using a single short syntax....

Angular upload file with primeng | p-fileUpload example

January 9, 2023 ·  5 min read

primeng is a Rich UI component library for the angular framework, It provides a lot of reusable components like buttons, input controls, data tables, and File upload. This blog explains the integration of Primeng in the latest Angular versions and uploads buttons with examples. It also explains how to hide/showprimeng` upload buttons. Create a new application First, Let’s create a new application angular-upload using the angular cli tool, ie ng command....

You'll get a notification every time a post gets published here.