- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Mukul Latiyan has Published 474 Articles
Mukul Latiyan
2K+ Views
Categorical data, also known as nominal data, is a type of data that is divided into discrete categories or groups. These categories have no inherent order or numerical value, and they are usually represented by words, labels, or symbols. Categorical data is commonly used to describe characteristics or attributes of ... Read More
Mukul Latiyan
6K+ Views
This tutorial provides a step-by-step guide on how to convert a NumPy array to a dictionary using Python. In NumPy, an array is essentially a table of elements that are typically numbers and share the same data type. It is indexed by a tuple of positive integers, and the number ... Read More
Mukul Latiyan
2K+ Views
There are times when we would want to know how many key-value pairs are present in a hash. These key-value pair counts are also known as the size of the hash. In Perl, we can find the number of keys in a Perl hash by using the "scalar" keyword or ... Read More
Mukul Latiyan
726 Views
In Perl, we can find the number of matches in a string by different approaches. In this tutorial, we will discuss the three most widely used approaches. Searching for a Single Character in a Perl String Let's first take the case where we would want to search for ... Read More
Mukul Latiyan
586 Views
The conversion between binary to decimal and decimal to binary is a necessity when it comes to dealing with binary data and using them in some simple applications. In Perl, we can convert from decimal to binary and vice versa in multiple ways. In this tutorial, we will explore ... Read More
Mukul Latiyan
2K+ Views
In Perl, we can convert a string into a number by appending the integer value 0 in front of it. There are some other approaches too, which we will discuss in this tutorial with the help of examples. Example Let's first consider the case where the string that we ... Read More
Mukul Latiyan
5K+ Views
Perl has methods and operators that determine whether two string values are equal or different. In Perl, the compare strings function is essential for comparing two strings and their values. This check examines if two string values are equal or not by using the "eq" and "ne" operators. We can ... Read More
Mukul Latiyan
2K+ Views
In this tutorial, we will take a couple of examples and demonstrate how you can if a file exists or not, with the help of Perl. Let's suppose we have a simple text file called "sample.txt" with the following data − This is a sample txt file that contains some ... Read More
Mukul Latiyan
2K+ Views
In Perl, there are two ways to check if two arrays are equal. We can compare two arrays in Perl with the help of "Storable freeze" function or by creating our own custom function. In this tutorial, we will explore both these approaches with the help of examples. Example 1 ... Read More
Mukul Latiyan
3K+ Views
Suppose we get a variable at runtime in Perl and we want to check if the value that it contains is numeric or not, then we can use the two approaches shown in this tutorial. We will use two simple examples to demonstrate how it works. Example The most basic ... Read More