Found 2 Articles for PERL

How to compare regular expressions in Perl and Python?

Nikitasha Shrivastava
Updated on 26-May-2025 18:21:40

325 Views

This article will discuss how to compare regular expressions in Perl and Python. Regular expressions, or regex, are patterns used to match strings. Both Perl and Python support regex, but they have some differences in syntax and usage. For example, you write a regular expression like this in Perl - $text =~ /pattern/ But you write it like this in Python - re.search('pattern', text) So in the below section of this article will show the similarities and differences between Perl and Python regex with simple examples - ... Read More

What are the differences between “untyped” & “dynamically typed” programming languages?

Nikitasha Shrivastava
Updated on 23-Apr-2025 14:42:23

2K+ Views

When learning different programming languages, you may come across terms like untyped and dynamically typed. While they may sound similar but they have different concepts in how programming languages manage data types. In this article, we will see these concepts in simple terms with simple examples. Untyped Language Untyped programming languages do not have a strict definition of data types. This allows you to use values without providing the data type. The interpreter or execution environment will handle everything anyway it considers a match. Example Let us look at an example that uses an untyped language - # ... Read More

1
Advertisements