I am trying to write a program using perl which will display the contents of a file in the same format as it is(i dont want to read the contents of the file on the command prompt)….and then ill search for the particular string in it but thats next part…first i want to
-
- Read about how logo jewelry can be used to reward and motivate employees.
-
Recent Posts
- The Methods That The IContact Service Could Help Assist In Website Promotion
- 3D Computer Monitors Rock! – Take Computer Gaming To Another Level
- Using IContact To Optimize The Effectiveness Of Your Email Marketing
- The Reasons Behind Why You Should Use An IContact Coupon Code
- Software Programmers Or Software Developers Are Required To Develop Applications For Various Purposes.
- Several Quick Tricks For Boosting Your Internet Site Web Optimization
- Small businesses now have affordable access to sophisticated online and mobile telephone systems at affordable prices. Check out the big daddy of the Virtual PBX category with this RingCentral Review.
Blogroll
9 Comments
Please correct me if i am wrong in understanding your plroblem, is it that you want to view contents of text file in notepad and xml or html in IE, or you just simply want to read the data?
For the former soultion is like..
@Filenames = @ARGV;
foreach (@Filenames) {
$file = $_;
if ( $file =~ /.+\.txt$/i ) {
print "text file";
system("notepad $file");
if ( $file =~ /.+\.xml$/i ) {
print "xml file";
system("iexplore $file");
}
For opening txt file you can use open FH, $filname;(read mode)
for reading XML files you can use
use XML::Simple;
}
Take a read at these tutorials:
http://www.pageresource.com/cgirec/ptut14.htm
http://builder.com.com/5100-6372-5314579.html
http://perl.about.com/od/perltutorials/a/readwritefiles.htm
In case you are interested in picture a alter in distinct llife, starting up generally the Los angeles Surgical procedures fat reduction method is really a large movement so that you can accomplishing which normally idea. shed belly fat
I was trying to find this. Really refreshing take on the information. Thanks a good deal.
Nice data, a lot of thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and very good luck!
Greatful to located this blog, I’ve been searching numerous times about it. This really is actually what I have been seeking and I’ve bookmarked this web site also, I will probably be back again soon to appear at for your new posting.
An advanced person you’ll want the latest muscle method. In case you place proper arrangement, mature really should individuals because of your self-worth business women will probably truly feel concerned by way of your hot design. Even when lots of males desirable for getting sort of entire physique the majority of commonly are not ready to can do some of those disturbing routines been required to grow their muscle. Form grownup males is actually vastly happy to will be aware that now they can offer muscle groups by means of the method of sipping on a marvelous items referred to Hugely Strength Builders.
you’ve a great weblog here! do you need to earn some invite posts in my weblog?
Some actually quality posts on this web site , saved to favorites .
Post a Comment