Perl Tutorial - 51: Reading Text from a File

  Рет қаралды 22,897

The Bad Tutorials

The Bad Tutorials

Күн бұрын

Пікірлер: 15
@shivambabbar1405
@shivambabbar1405 4 жыл бұрын
Great taste in songs btw, one of the greatest song of pink floyd
@pradyothshandilya8065
@pradyothshandilya8065 6 жыл бұрын
I just realised. You have not done any videos on taking user input in Perl right?
@pranavbhosale6362
@pranavbhosale6362 6 жыл бұрын
sir we are supposed to make a miniproject using perl script . Its going tough for us .plz do help what to do.
@alg28100
@alg28100 7 жыл бұрын
Trying to retrieve from another file words that have the same root and their different suffixes. For example the root is belie and I want to find the words believe belief believing believed believes etc. Any idea?
@higiniofuentes2551
@higiniofuentes2551 Жыл бұрын
It does nothing and not stop?
@lserranoit
@lserranoit 5 жыл бұрын
How can i do to extract an exactly word from that text?
@pavanig2880
@pavanig2880 5 жыл бұрын
By using regular expressions
@anudeepreddy3745
@anudeepreddy3745 4 жыл бұрын
does it print the whole song at once or line by line I mean how many times does the loop run?
@roobiki4494
@roobiki4494 Жыл бұрын
test it with an output statement inside the loop
@suvankarbhattacharya5705
@suvankarbhattacharya5705 7 жыл бұрын
not working man!!!
@aswinm9
@aswinm9 6 жыл бұрын
Change the backward slashes to forward slashes in the file path
@soumyamishra1180
@soumyamishra1180 4 жыл бұрын
@@aswinm9 Yes then its working..Thanks !
@stanislavdimitrov1643
@stanislavdimitrov1643 Жыл бұрын
@@aswinm9 Richtisch:))
@waxy6666
@waxy6666 Жыл бұрын
Hi Madhurbh, thanks for this intro. I have a question: how can i find a string within a file? I tried this, but nothing happens: #!/usr/bin/perl system ("unzip -p harman_hisbo_15.odt meta.xml > meta.txt"); system ("touch result.txt"); open(INPUT, '', 'result.txt'); print RESULT "It matches " if ( =~ /date/); system ("less result.txt"); system ("touch -d 20080824 harman_hisbo_15.odt"); My aim is to pick the digits following the word "date" and use them to change the creation date of the file. Could you help me?
Learn Regular Expressions In 20 Minutes
20:52
Web Dev Simplified
Рет қаралды 1,3 МЛН
Perl Tutorial - 52: Writing Text to a File
3:47
The Bad Tutorials
Рет қаралды 14 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 26 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 52 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 121 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 928 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 63 М.
Perl Tutorial
1:07:19
Derek Banas
Рет қаралды 433 М.
Perl - File I/O Operation
10:57
TutorialsPoint
Рет қаралды 26 М.
Python Tutorial: File Objects - Reading and Writing to Files
24:33
Corey Schafer
Рет қаралды 1,8 МЛН
Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
37:55
perl lec7: file handling, loops, hashes and arrays explained
6:48
VLSI Academy
Рет қаралды 14 М.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 38 М.
Perl Tutorial - 10: Converting Arrays to Strings
3:36
The Bad Tutorials
Рет қаралды 22 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 26 МЛН