Search Results

Search: Posts Made By: perlishell
3,297
Posted By perlishell
@PRAVIN Yes it really worked. Thank you...
@PRAVIN

Yes it really worked. Thank you very much it helped me alot because im still learning pearl for my work. by the way can you explain what the line
"my $files mean"
and how can i write...
3,297
Posted By perlishell
sorry for a very late reply. heres the code that...
sorry for a very late reply. heres the code that im using
#!/usr/bin/perl -w


$files="input.txt";
open(FILE,$files);
@lines = <FILE>;
close(FILE);
$arrayLength = @lines;

for($i=0;...
3,297
Posted By perlishell
thanks ill try it ---------- Post updated at...
thanks ill try it

---------- Post updated at 12:30 AM ---------- Previous update was at 12:16 AM ----------

$lines[$i]=~!/\d\d-\d\d-\d{4}/ && s/10/ten/g;
i used this line but its not working...
3,297
Posted By perlishell
this is just a sample. name: john smith ...
this is just a sample.
name: john smith
birthday: 10-11-1995
date hired: 05/10/2010
expected salary: 10-50k
typing speed: 10 wpm
coordinates: (10, 10)

should come out like this:
name: john...
3,297
Posted By perlishell
regex to match digits not in dates
hi all, im having problems. I need to change all number 10 in a text file to word form, or in short from 10->ten. the thing is number 10 including in dates such as 10/22/1997 or 03-10-2011 should not...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy