More Conditional statements - Punjabi
- subtitles off
- captions off
- English
- Punjabi
This is a sample video. To access the full content,
please
Login
- Questions posted on Forums
- PERL Tutorials - Punjabi
-
error regarding switch program.
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib) at sampleswitch.pl line 2.BEGIN failed--compilation aborted at sampleswitch.pl line 2.code:#!/usr/bin/perluse Switch;$var = 'Linux';switch ($var) { case 'Perl' {print "I am Perl\n";} case 'Java' {print "I am Java\n";} case 'Linux' {print "I am Linux\n";} else {print "I am not a computer language\n";}}
06-07M 40-50S Sakshi@20
Answer last updated on: April 12, 2025, 11:02 p.m.
-
1Overview and Installation of PERL
-
2Variables in Perl
-
3Comments in Perl
-
4for for each loops
-
5while do while loops
-
6Conditional statements
-
More Conditional statements
-
8Data Structures
-
9Arrays
-
10Array functions
-
11Hash in Perl
-
12Functions in Perl
-
13Blocks in Perl
-
14Access Modifiers in PERL
-
15Referencing and Dereferencing
-
16Special Variables in PERL
-
17File Handling
-
18Exception and error handling in PERL
-
19Including files or modules
-
20Sample PERL program
-
21Perl Module Library (CPAN)
-
22Downloading CPAN module
-
23Perl and HTML
Questions posted on ST Forums:
483 visits
Outline:
if - elsif - else ਕੰਡੀਸ਼ਨਲ ਸਟੇਟਮੈਂਟ ਦੀ ਵਰਤੋ ਵਿਸ਼ੇਸ਼ ਕੰਡੀਸ਼ਨ ਚੈੱਕ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ । ਅਤੇ ਜੇਕਰ ਇਹ true ਹੈ ਤਾਂ ਸੰਬੰਧਤ ਬਲਾਕ ਨੂੰ ਚਲਾਉਂਦਾ ਹੈ ਨਹੀਂ ਤਾਂ ਡਿਫਾਲਟ else ਬਲਾਕ ਨੂੰ ਚਲਾਉਂਦਾ ਹੈ । switch ਕੰਡੀਸ਼ਨਲ ਕੇਸ ਸਟੇਟਮੈਂਟ ਹੈ । ਸੰਤੁਸ਼ਟ ਕੇਸ ਚੱਲਦਾ ਹੈ, ਨਹੀਂ ਤਾਂ ਡਿਫਾਲਟ ਕੇਸ ਚੱਲਦਾ ਹੈ ।
Width: | 960 | Height: | 720 |
---|---|---|---|
Duration: | 00:11:06 | Size: | 7.7 MB |
Show video info