PERL/C2/Blocks-in-Perl/Khasi
From Script | Spoken-Tutorial
Revision as of 22:32, 25 July 2017 by Pdiangburom (Talk | contribs)
Time | Narration |
00:01 | Ngi pdiangsngewbha iaphi sha ka spoken tutorial halor ka Blocks in Perl. |
00:06 | Ha kane ka jinghikai, ngin ia pule shaphang bun tylli ki blocks kiba don ha ka Perl. |
00:13 | Nga pyndonkam da ka Ubuntu Linux 12.04 operating system bad ka Perl 5.14.2. |
00:21 | Ngan sa pyndonkam ruh ia ka gedit Text Editor. |
00:26 | Phi lah ban pyndonkam ia kano kano ka text editor katkum kamon jong phi. |
00:31 | Kum ka jingdonkam ba hashwa, phi dei ban don ia ka jingtip jong ki variables, comments ha ka Perl. |
00:38 | Ki jingtip ia ki data structures ha ka PERL kan long ka jingmyntoi. |
00:44 | Sngewbha leit sha ki spoken tutorials ba iadei ha ka Spoken Tutorial website. |
00:50 | Ka Perl ka ai 5 tylli ki blocks ba kyrpang. |
00:53 | Kine ki blocks ki shah execute ha bun ki kyrdan jong ka Perl program. |
00:59 | Kine ki blocks kidei: |
01:01 | BEGIN , END |
01:03 | UNITCHECK, CHECK |
01:05 | INIT, to ngin ia sdang ban sngewthuh ia ka BEGIN block. |
01:10 | BEGIN block ka shah execute ha kapor jong ka compilation. |
01:15 | Te, uno uno u code ba la thoh hapoh jong une u block u shah execute nyngkong ha kapor compilation. |
01:22 | Ngi lah ban don bun ki BEGIN blocks hapoh ka Perl script. |
01:26 | Kine ki blocks kin shah execute ha ka order jong ka declaration. |
01:31 | Kata kadei, ha ka First define First execute pattern. |
01:35 | Ka syntax na ka bynta ka BEGIN block kadei kumne harum: |
01:40 | BEGIN ha ki dak heh space open curly bracket |
01:45 | Shon Enter. |
01:47 | U code uban sa shah execute ha kapor jong ka compilation, |
01:51 | Shon Enter .Close curly bracket. |
01:55 | Mynta, to ngin ia peit ia ka nuksa jong ka BEGIN block. |
01:59 | Plie ia ka Terminal bad type: |
02:02 | gedit beginBlock dot pl space ampersand |
02:08 | bad shon Enter. |
02:10 | Kane kan sa plie ia ka beginBlock dot pl file ha ka gedit. |
02:15 | Type u code ba la ai harum kumba la pyni ha ka screen. |
02:20 | To ngin ia peit ia kaei kaba nga lah thoh hapoh jong ka script. |
02:24 | Hangne, ngi lah print katto katne ki text hashwa bad hadien jong ka BEGIN blocks. |
02:31 | Ha kajuh ka rukom, nga lah thoh ia kawei ka print statement ha man u BEGIN block. |
02:37 | Sngewbha kynmaw, nga khlem ai ia u semicolon hadien jong ki BEGIN blocks. |
02:42 | Da kaba buh ia u semicolon kan sa pynmih ia ka syntax error ha kapor ba execute ia ka program. |
02:49 | Mynta, shon Ctrl+s ban save ia ka file. |
02:53 | Nangta phai sha ka terminal bad execute ia ka script da kaba type: |
02:58 | perl beginBlock dot pl |
03:01 | bad shon Enter. |
03:04 | Phin sa iohi ia ka output kumba la pyni ha ka terminal. |
03:09 | Phin iohi ba ka lain ba la thoh hapoh ka BEGIN block ba nyngkong ka shah print nyngkong bad |
03:16 | Ka print statement ba nyngkong ha ka script jingshisha ka shah print hadien ka BEGIN block statements. |
03:25 | BEGIN blocks ka shah execute ha ka order jong ka declaration jong ki. |
03:31 | Ha kane ka nuksa, ka la pawshai ba |
03:34 | U code ba la thoh hapoh ka BEGIN block u shah execute nyngkong. |
03:40 | Khlem da khein ia ka jaka jong ka BEGIN block kaba don hapoh ka PERl script. |
03:46 | Ka BEGIN block barabor ka shah execute ha ka rukom First In First Out |
03:52 | Te, kawei ka jingdonkam jong kane ka block kadei ban kynthup ia ki files kiba don hapoh ka Perl script, hashwa ba ka exection badei kan sdang. |
04:01 | Mynta, to ngin pyrshang ban sngewthuh ia ka END block. |
04:04 | Ka END block ka shah execute ha kaba kut jong ka PERL program. |
04:09 | U code ba la thoh hapoh jong kane ka block u shah execute hadien ba ka PERL ka lah dep ban execute ia ka program. |
04:17 | Ngi lah ban don ia bun tylli ki END blocks hapoh jong ka Perl script. |
04:21 | Kine ki blocks kin sa shah execute ha ka reverse order jong ka declaration. |
04:26 | Kata kadei, ha ka Last define First execute pattern. |
04:30 | Ka syntax na ka bynta ka END block kadei kumne harum: |
04:35 | END ha ki dak heh open curly bracket |
04:39 | Shon Enter. U code u ban sa shah execute ha kaba kut jong ka PERL script, |
04:45 | Shon Enter.Close curly bracket. |
04:49 | Mynta, to ngin ia peit ia ka nuksa jong ki END blocks. |
04:53 | Plie ia ka Terminal bad type: |
04:56 | gedit endBlock dot pl space ampersand |
05:00 | Bad shon Enter. |
05:03 | Kane kan sa plie ia ka endBlock dot pl file ha ka gedit. |
05:08 | Type ia u code harum kumba la pyni ha ka screen. |
05:13 | To ngin ia peit ia kaei kaba nga lah thoh hapoh jong kane ka script. |
05:17 | Hangne, ngi lah print katto katne ki text hashwa bad hadien ki END blocks. |
05:23 | Ha kajuh ka rukom, ngi la thoh kawei ka print statement haman ka END block. |
05:29 | Sngewbha kynmaw, nga khlem ai ia u semicolon hadien jong ka END block. |
05:34 | Lada ngi ai ia u semicolon, kan sa don ka syntax error ha ka compilation. |
05:41 | Mynta, shon Ctrl+s ban save ia ka file. |
05:45 | Nangta phai sha ka terminal bad execute ia ka script da kaba type: |
05:50 | perl endBlock dot pl |
05:53 | bad shon Enter. |
05:55 | Phin sa iohi ia ka output kumba la pyni ha ka terminal. |
06:00 | Sngewbha kynmaw ba: Ka line kaba la thoh hapoh ka END block la print khatduh. |
06:06 | Ka print statement kaba khatduh ha ka script ha ka jingshisha ka shah print hashwa ki END block statements bad ka |
06:13 | Ki END blocks ki shah execute ha ka reverse order jong ka declaration jong ki. |
06:20 | Na ka nuksa, ka lah paw shai ba |
06:23 | U code ba la thoh hapoh jong ki END blocks u shah execute ha kaba kut. |
06:29 | Kane kadei khlem da khein ia ka jaka ba ki END block kadon hapoh ka PERL script bad |
06:36 | Ki END blocks ki shah execute ha ka Last In First Out manner. |
06:41 | Te, kawei ka jingdonkam jong ka END block kadei ban pynduh pyndam ia ki objects kiba lah shna ha ka program hashwa ba kan exit. |
06:49 | Ha kajuh ka rukom, ka PERL script kadon ia ki UNITCHECK, CHECK bad INIT blocks. |
06:55 | Niar eh ba ki developers kin pyndonkam ia kine ki blocks bad kadei kaba jynjar khyndiat ban sngewthuh. |
07:02 | Te, ngan shu batai lyngkot iaphi shaphang kine ki blocks. |
07:06 | UNITCHECK, CHECK' bad INIT blocks kilong kiba donkam: |
07:10 | Ha kaban kem ia ki transition kiba don hapdeng ka compilation bad ka execution phase jong ka main program bad |
07:18 | Ha kaban leh ia katto katne ki checks lane ki initialization, hadien ka compilation bad hashwa ka execution. |
07:24 | Ka UNITCHECK bad CHECK blocks ka run ha ka rukom Last in First out |
07:31 | Hynrei ka INIT block ka run ha ka rukom First In First Out |
07:37 | Ka syntax na ka bynta ka UNITCHECK block kadei kumne harum: |
07:41 | UNITCHECK ha ki dak heh space plie curly bracket |
07:46 | Shon Enter. |
07:48 | U code u ban sa shah execute, |
07:50 | Shon Enter. |
07:52 | Khang ia u curly bracket. |
07:54 | Ka syntax na ka bynta ka CHECK block kadei kumne harum: |
07:58 | CHECK ha ki dak heh space plie curly bracket |
08:03 | ShonEnter. U code u ban sa shah execute |
08:07 | Shon Enter. Khang curly bracket. |
08:11 | Ka syntax na ka bynta ka INIT block kadei kumne harum: |
08:15 | INIT ha ki capital letters space plie curly bracket |
08:20 | Shon Enter. U code u ban initialized, |
08:24 | Shon Enter . |
08:26 | Khang curly bracket. |
08:28 | Na ka bynta ban sngewthuh kham bha, nga ai jingmut iaphi ba phin leh experiment bad kine ki blocks ha ka Perl scripts jong phi. |
08:36 | To ngin ia batai kyllum. Ha kane ka jinghikai, ngi lah pule ia ki: |
08:40 | BEGIN bad END blocks ha ka rukom ba bniah bad |
08:44 | Ka lamphrang jong ki UNITCHECK, CHECK bad INIT blocks |
08:48 | Da kaba pyndonkam ia ki sample programs. |
08:52 | Hangne ka kam na ka bynta jong phi: |
08:54 | Thoh ia u code harum hapoh ka PERL script; |
08:58 | Bad execute ia ka script bad khmih ia ka output. |
09:02 | Peit ia ka video kaba don ha ka link harum. |
09:06 | Ka kyllum lang ia ka Spoken Tutorial project. |
09:09 | Lada phim don ia ka bandwidth kaba biang, phi lah ban shu download bad peit ia ka hadien. |
09:14 | Ka kynhun jong ka Spoken Tutorial project: ka pynlong ia ki workshops da kaba pyndonkam ia ki spoken tutorials. |
09:20 | Ka ai certificates sha kito kiba pass ha ka online test. |
09:24 | Na ka bynta ki jingtip ba bniah, sngewtbha thoh sha ka: contact at spoken hyphen tutorial dot org. |
09:32 | "Spoken Tutorial" project kadei shi bynta jong ka "Talk to a Teacher" project. |
09:37 | La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, Sorkat of India. |
09:45 | Kham bun ki jingtip halor kane ka mission kidon ha ka: spoken hyphen tutorial dot org slash NMEICT hyphen Intro. |
09:57 | Nga kyrmen phi sngewtynnad ia kane ka jinghikai halor ka Perl. |
10:00 | Ma nga U Pdiangburom na Shillong nga pynkut ia kane. |
10:02 | Khublei shibun. |