Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: How to check end

Perl: How to check end
{filelink=13218}

#!/usr/bin/perl -w
print "Enter text: ";
$line=;
foreach $elem ($line) {
    if ($elem =~ /perl$/)
    {
        print "	Perl found at end of
 '$elem'";
    }
}

Users who found this page were searching for:

  • how to write dns name reversal program
  • howto create a small python gui
  • how to to brighten a picture in java with a method
  • comparing identical arrays in java
  • java find element
  • reading excel file from python example

No comments yet.

Leave a Comment