Mastering PERL: Unveiling the Power of Functions and Subroutines

preview_player
Показать описание
In this insightful episode, we delved into a comprehensive exploration of various key topics in PERL. Firstly, we shed light on the intriguing realm of User Defined Functions, revealing how they empower programmers to create customized and reusable code blocks for enhanced efficiency. We then dived into the intricacies of Subroutine Declaration & Definition, unraveling the fundamental syntax and rules governing their implementation. Next, we elucidated the art of Passing & Receiving Arguments in a PERL Subroutine, demonstrating how values can be effectively transmitted to and received by these functional units. Moreover, we exemplified the Call by Value and Call by Reference concepts, elucidating their contrasting behaviors and showcasing real-world code snippets for practical comprehension. Furthermore, we shed light on the versatility of Variable Arguments in Subroutine through a compelling example, emphasizing the flexibility and adaptability they bring to the programming process. Additionally, we unveiled the intriguing concept of Fixed Arguments with Multiple Return Value, allowing programmers to conveniently extract multiple values from a subroutine invocation. Moving forward, we explored the concept of Private Variables by employing the "my" keyword, showcasing how it creates localized variables for better code organization and encapsulation. Finally, we revealed the utility of Temporary Variables created through the "local" keyword, offering programmers a convenient means to temporarily modify global variables within a subroutine. To culminate this enriching session, we introduced the treasure trove of PERL Built-in Functions, providing programmers with an extensive repertoire of pre-existing functions that can be seamlessly utilized to accomplish a wide range of tasks with utmost convenience and efficiency.

Chapter for easy navigation :
00:00 Beginning of the Video
00:16 Episode Topic Index
01:00 User Defined Functions in PERL
03:54 Subroutine Declaration & Definition
06:37 Passing & Receiving Arguments in a PERL Subroutine
09:04 Call by Value Example
10:41 Call by Reference Example
14:00 Variable Arguments in Subroutine Example
16:10 Fixed Arguments with Multiple Return Value Example
18:13 Private Variables by using "my"
19:58 Temporary Variables by using "local"
21:44 PERL Built in Functions -- ready to use

_________

#PERL
#PERLVLSI
#VLSI

Courtesy & References:
Image by Gerd Altmann from Pixabay

The Mission of TechSimplifiedTV is inspired from philosophy of :
@SatishKashyapB @iit @nptel-nociitm9240 @npteliitguwahati8283 @NPTELSpecialLectureSeries @nptel-indianinstituteofsci8064 @interactivesessionswithiit7882 @NPTELGATEPreparation @NPTELANSWERS @NPTELSolutions2020 @swayam-nptelofficeiitkhara474
Рекомендации по теме
Комментарии
Автор

It is really helpful video, Thank you sir!

Shivani_Singh
Автор

Thank you for this video. I was searching for perl tutorial from long time. But there was not any recent tutorials on perl.

robingupta
visit shbcf.ru