PERL/C3/Downloading-CPAN-module/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Khublei ngi pdiangsngewbha iaphi sha ka Spoken Tutorial halor ka Downloading CPAN modules.
00:06 Ha kane ka jinghikai, ngin ia pule shaphang kumno ban download ia ka CPAN modules ba donkam ha ka

Ubuntu Linux Operating System bad Windows Operating System.

00:17 Ban record ia kane ka jinghikai, nga pyndonkam da ka:

Ubuntu Linux 12.04 operating system Windows 7 Perl 5.14.2 bad 'gedit' Text Editor.

00:32 Phi lah ban pyndonkam ia kano kano ka text editor katkum kamon jong phi.
00:36 Ban bud ia kane ka jinghikai, phi dei ban don ia ka jingtip shaphang ka Perl programming.
00:41 Lada phim don, te leit sha ki spoken tutorials ba iadei halor ka Perl ha ka spoken tutorial website.
00:48 Nyngkong, ngin ia pule kumno ban download ia ka CPAN modules ha ka Ubuntu Linux OS.
00:55 Phai sha ka terminal.
00:57 Type sudo space cpan bad shon Enter. Pyndap ia u password lada donkam.
01:06 Lada khlem pat install ia ka cpan ha ka system jong phi, kan sa pyni iaphi ia ka installation process.
01:13 Sngewbha iaid ryngkat bad ki steps. Ka computer kadei ban connect bad ka internet na ka bynta ka installation process.
01:21 Ngi lah ban iohi ia ka prompt ba ka kylla sha ka cpan.
01:26 Shu ong noh kum ka nuksa, nga kwah ban sei ia ki katto katne ki data na ka CSV file ban pyndonkam ha ka Perl program jong nga.
01:35 Na ka bynta kane, ngin ia pyndonkam ia ka Text colon colon CSV module.
01:40 Hashwa ban pyndonkam, ngi hap ban install ia ka Text colon colon CSV module.
01:46 Phai sha ka terminal.
01:48 Type: install Text colon colon CSV bad shon Enter.
01:55 Ngi lah ban iohi ia ka installation jong ki packages kiba iadei jong kane ka module.
02:00 Ka installation kan shimpor khyndiat ban dep katkum ka jingstet jong ka internet jong phi.
02:06 Mynta, to ngin ia check lada ka module lah install bha ne em.
02:12 Shon ia u 'q' key ban khang ia ka cpan.
02:16 Type: "instmodsh" bad shon Enter.
02:23 Type 'l' ban list ia baroh ki modules kiba lah install.
02:28 Hangne, ngi lah ban iohi ia ka Text colon colon CSV kaba pyni ba ka module ka lah dep install ha ka system jong ngi.
02:38 Type 'q' ban mih noh shabar.
02:41 Mynta, ngan plie ia ka candidates.csv kaba nga lah dep save lypa.
02:47 Type: gedit candidates.csv bad shon Enter.
02:53 Hangne, ngi lah iohi ia ka- name, age, gender bad ki jingtip jong ka email jong ki candidates da u comma separator.
03:02 Mynta ngan plie ia ka csvtest.pl file ha kaba nga lah thoh ia ka Perl program kaba pyndonkam ia kane ka module.
03:11 Kane ka program kan sa extract ia ki name field values kiba lah buh ha ka csv file.
03:18 Ka use statement ka load ia ka Text colon colon CSV module.
03:23 Nga lah declare ia ka "candidates.csv" file sha u local variable dollar file.
03:29 Ka statement kaba bud kan sa plie ia ka file ha ka READ mode.
03:34 Text colon colon CSV kadei ka class bad ngi lah ban shna ia ka instance da kaba call ia u constructor bad u new.
03:42 Kane ka lain ka shna ia u “object” da kaba buh ia u comma ban long kum u separator character.
03:48 Hangne, ka "while" loop ka wanlam ia ki data, uwei pa uwei u lain, da kaba pyndonkam ia u "getline()" method.
03:54 Ka "getline" method ka pynphai ia u reference sha ka array.
03:58 Ngi dei ban dereference ia u, ba un sei ia u value.
04:02 Index jong u zero u mih khmat ia ka name field ha ka csv file.
04:07 Print statement ka print ia ki kyrteng na ka csv file.
04:11 Mynta, shon Ctrl+S ban save ia ka file.
04:15 To ngin ia execute ia ka program.
04:18 Phai biang sha ka terminal bad type: perl csvtest.pl bad shon Enter.
04:27 Hangne, ngi lah ban iohi ia ka name field kum ka output.
04:32 Hadien kane. To ngin ia peit kumno ban download ia ki CPAN modules ba donkam ha ka Windows Operating System.
04:39 Ynda ka Perl ka lah dep install, ka utility kaba ngi khot ka PPM kata Perl Package Module ka shah install hi dalade.
04:48 Ban pyndonkam ia ka PPM, ka computer jong phi kadei ban connect bad ka internet.
04:53 Kane ka utility lah ban pyndonkam ha kaban:

Wad ia ka module install weng bad upgrade ia ki modules ba donkam ha ka Windows Operating System.

05:04 Mynta, to ngin ia plie ia ka command window ha ka Windows OS.
05:09 Ban plie ia ka command window, nion ha Start bad type "cmd" bad shon Enter.
05:17 Type: perl hyphen v ban check lada ka Perl ka lah dep install ha ka Windows OS machine jong phi.
05:25 Phin sa iohi ia ka Perl version number kaba lah install ha ka machine jong phi.
05:30 Lada ka Perl kam pat dep install, sngewbha peit ia ka jinghikai halor ka Perl Installation ha kane ka website.
05:36 Kan sa batai iaphi kumno ban install ia ka Perl ha ka Windows OS.
05:41 Ha ka “DOS” prompt, type: ppm install Text colon colon CSV bad shon Enter.
05:49 Sngewbha kynmaw, ki kyrteng jong ki module kidei ki case sensitive.
05:53 Ngi lah ban iohi ia ka installation process ka lah sdang. Ap haduh ba ka installation kan da dep.
06:00 Nga lah copy ia ka candidates.csv bad csvtest.pl file ha ka directory ba nga treikam mynta.
06:08 To mynta ngin ia execute ia ka Perl program.
06:11 Ha ka command window, type: perl csvtest.pl bad shon Enter.
06:18 Hangne ka output.
06:21 Da kane ngi lah poi sha kaba kut jong kane ka jinghikai. To ngin ia batai kyllum.
06:26 Ha kane ka jinghikai, ngi lah pule shaphang kumno ban download ia ki CPAN modules ba donkam ha ka Linux bad Windows.
06:34 Hangne ka kam na ka bynta jong phi.

Pyrshang ban install ia ka Date colon colon Calc module. Pyndonkam ia ka website ba la ai na ka bynta ka module search.

06:47 Ka video ha ka link harum ka kyllum lang ia ka Spoken Tutorial project. Sngewbha download bad peit ia ka
06:54 Ka kynhun jong ka Spoken Tutorial Project:

Ka pynlong ia ki workshops da kaba pyndonkam ia ki spoken tutorials bad ka ai certificates sha kito kiba pass ha ka online tests.

07:03 Na ka bynta ki jingtip ba bniah, sngewbha thoh sha ngi.
07:06 Ia ka Spoken Tutorial project la bei tyngka da ka NMEICT, MHRD, Sorkar India. Kham bun ki jingtip halor kane ka mission kidon ha kane ka link
07:18 Ma nga u Pdiangburom na Shillong, nga pynkut ia kane. Khublei shibun.

Contributors and Content Editors

Pdiangburom