SlideShare a Scribd company logo
1 of 1
Download to read offline
Problem 01:
#!/usr/bin/perl
use strict;
use warnings;
$_ = "Let’s rent a bus!";
s/(.)(w).*(2).*(.)$/$1$2$3$4/ ;
print "[" ; print ; print "]";
exit;
output : [Lee!]
Solution
Problem 01:
#!/usr/bin/perl
use strict;
use warnings;
$_ = "Let’s rent a bus!";
s/(.)(w).*(2).*(.)$/$1$2$3$4/ ;
print "[" ; print ; print "]";
exit;
output : [Lee!]

More Related Content

More from singhanubhav1234

MulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdfMulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdf
singhanubhav1234
 
IntroductionFew things are more aggravating to produce on a worksi.pdf
IntroductionFew things are more aggravating to produce on a worksi.pdfIntroductionFew things are more aggravating to produce on a worksi.pdf
IntroductionFew things are more aggravating to produce on a worksi.pdf
singhanubhav1234
 
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdffunction [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
singhanubhav1234
 
AnswerRecombinant DNA Technology It is the set of techniques tha.pdf
AnswerRecombinant DNA Technology It is the set of techniques tha.pdfAnswerRecombinant DNA Technology It is the set of techniques tha.pdf
AnswerRecombinant DNA Technology It is the set of techniques tha.pdf
singhanubhav1234
 
a. Major categories1. Chromosomal disorders Due to numerical or .pdf
a. Major categories1. Chromosomal disorders Due to numerical or .pdfa. Major categories1. Chromosomal disorders Due to numerical or .pdf
a. Major categories1. Chromosomal disorders Due to numerical or .pdf
singhanubhav1234
 
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdfA NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
singhanubhav1234
 
1A) One of the best explanation for why we conformobey in the real .pdf
1A) One of the best explanation for why we conformobey in the real .pdf1A) One of the best explanation for why we conformobey in the real .pdf
1A) One of the best explanation for why we conformobey in the real .pdf
singhanubhav1234
 
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
singhanubhav1234
 

More from singhanubhav1234 (20)

The answer isD. they are significantly higher than the boiling po.pdf
The answer isD. they are significantly higher than the boiling po.pdfThe answer isD. they are significantly higher than the boiling po.pdf
The answer isD. they are significantly higher than the boiling po.pdf
 
Silica Fume is a very reactive pozzolana because of its chemical and.pdf
Silica Fume is a very reactive pozzolana because of its chemical and.pdfSilica Fume is a very reactive pozzolana because of its chemical and.pdf
Silica Fume is a very reactive pozzolana because of its chemical and.pdf
 
enzymes active site does not have the exact sha.pdf
                     enzymes active site does not have the exact sha.pdf                     enzymes active site does not have the exact sha.pdf
enzymes active site does not have the exact sha.pdf
 
MulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdfMulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdf
 
just moved a new USB 2.0 device from a new system to an older system.pdf
just moved a new USB 2.0 device from a new system to an older system.pdfjust moved a new USB 2.0 device from a new system to an older system.pdf
just moved a new USB 2.0 device from a new system to an older system.pdf
 
IntroductionFew things are more aggravating to produce on a worksi.pdf
IntroductionFew things are more aggravating to produce on a worksi.pdfIntroductionFew things are more aggravating to produce on a worksi.pdf
IntroductionFew things are more aggravating to produce on a worksi.pdf
 
D) Rb Solution D) Rb .pdf
                     D) Rb  Solution                     D) Rb  .pdf                     D) Rb  Solution                     D) Rb  .pdf
D) Rb Solution D) Rb .pdf
 
idkSolutionidk.pdf
idkSolutionidk.pdfidkSolutionidk.pdf
idkSolutionidk.pdf
 
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdffunction [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
function [M]=trajectory3(x,y,z,pitcher,roll,yaw,scale_factor,step,se.pdf
 
Evolution of mitochondria.Mitochondria are believed to have arisen.pdf
Evolution of mitochondria.Mitochondria are believed to have arisen.pdfEvolution of mitochondria.Mitochondria are believed to have arisen.pdf
Evolution of mitochondria.Mitochondria are believed to have arisen.pdf
 
DSolutionD.pdf
DSolutionD.pdfDSolutionD.pdf
DSolutionD.pdf
 
AnswerRecombinant DNA Technology It is the set of techniques tha.pdf
AnswerRecombinant DNA Technology It is the set of techniques tha.pdfAnswerRecombinant DNA Technology It is the set of techniques tha.pdf
AnswerRecombinant DNA Technology It is the set of techniques tha.pdf
 
a. Major categories1. Chromosomal disorders Due to numerical or .pdf
a. Major categories1. Chromosomal disorders Due to numerical or .pdfa. Major categories1. Chromosomal disorders Due to numerical or .pdf
a. Major categories1. Chromosomal disorders Due to numerical or .pdf
 
Alcohols are organic molecules that have a very p.pdf
                     Alcohols are organic molecules that have a very p.pdf                     Alcohols are organic molecules that have a very p.pdf
Alcohols are organic molecules that have a very p.pdf
 
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdfA NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
A NEWVIEW OF GRAVITYEntropy and Gravity may be crucial concepts fo.pdf
 
4. Answer is colloid. follicular cells, C cells are cells in the thy.pdf
4. Answer is colloid. follicular cells, C cells are cells in the thy.pdf4. Answer is colloid. follicular cells, C cells are cells in the thy.pdf
4. Answer is colloid. follicular cells, C cells are cells in the thy.pdf
 
256Solution256.pdf
256Solution256.pdf256Solution256.pdf
256Solution256.pdf
 
1A) One of the best explanation for why we conformobey in the real .pdf
1A) One of the best explanation for why we conformobey in the real .pdf1A) One of the best explanation for why we conformobey in the real .pdf
1A) One of the best explanation for why we conformobey in the real .pdf
 
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
1. Water supplies are treated with chlorine to kill pathogens. Chlor.pdf
 
1. stub is usually used for temporary substitute for the code that y.pdf
1. stub is usually used for temporary substitute for the code that y.pdf1. stub is usually used for temporary substitute for the code that y.pdf
1. stub is usually used for temporary substitute for the code that y.pdf
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Problem 01 #!usrbinperl use strict; use warnings; $_ = .pdf

  • 1. Problem 01: #!/usr/bin/perl use strict; use warnings; $_ = "Let’s rent a bus!"; s/(.)(w).*(2).*(.)$/$1$2$3$4/ ; print "[" ; print ; print "]"; exit; output : [Lee!] Solution Problem 01: #!/usr/bin/perl use strict; use warnings; $_ = "Let’s rent a bus!"; s/(.)(w).*(2).*(.)$/$1$2$3$4/ ; print "[" ; print ; print "]"; exit; output : [Lee!]