Check out example codes for "print hello world in perl". It will help you in understanding the concepts better.

Code Example 1

#!/usr/bin/perl 
  
# Modules used 
use strict; 
use warnings; 
  
# Print function  
print("Hello World\n");

Learn ReactJs, React Native from akashmittal.com