Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Perl reg exp
Name: raviepic3 Date: February 3, 2009 at 07:22:40 Pacific OS: XP CPU/Ram: enough Product: Intel / Solo Subcategory: General
Comment:
i need to extract a part from string and check for similarity with data contained in another variable , if yes i have replace the assigned value for it..
Summary: #!\C:\Perl\bin use strict; use warnings; my $cont; open my $file,"Contacts.CSV" or die; open my $write,">>sample.csv" or die; while(<$file>) { $cont=$_; $cont=~s#.{50}# #; print $write ...
Summary: Even though counting the number of lines in a file is easy to do with either Perl or Python, neither of them is the best tool for that specific task. The best tool would be the wc command. [root@perl...