unlink <*.html>;
Get File Text in Array and String
open(FM,”main_sidebar.txt”);
my @menu_txt=<FM>;
close(FM);
my $menu=join(”",@menu_txt);
Check if Line Number Equal To 1
if ($. == 1) {
chomp;
}
RSS feed for comments on this post · TrackBack URI
You must be logged in to post a comment.
Perl Guru said,
September 10, 2007 @ 11:02 pm<p>nice information on Perl !</p> Please add more Perl snippets !