help me



Hi All,

I am begginer to Perl..
I need write a perl script with subroutine which accepts two strings
from standard input and checks whether first string has the second
string.
Plz help me.

Regards
Raghu
.



Relevant Pages

  • Re: Regarding reg. exp.
    ... I have a string and I need to parse that string to check whether it is ... in required format or not. ... I have mentioned in the Perl script that input should be in the ...
    (perl.beginners)
  • What could potentially be wrong in this script?
    ... I am writing a Perl script to check that dependency files exist that ... opening it, and then based on the type of file, saving a regex to ... foreach my $files ... The index call isn't working on this bizarre string. ...
    (comp.lang.perl.misc)
  • Bug using Runtime.getRuntime().exec and Perl
    ... The Perl script is supposed to take a string on standard input, ... BufferedWriter w = new BufferedWriter ...
    (comp.lang.java.help)
  • Re: Problem with replacing string in file
    ... perl pra am Samstag, 25. ... I have a problem to replace strings of file thru perl script. ... Can't find string terminator "'" anywhere before EOF at -e line 1. ...
    (perl.beginners)
  • Re: Using js to launch Windows Save As dialog
    ... generated with a Perl script, and I want the user to be able to press a ... clearly labeled button at the bottom of the page and bring up the ... In this case, browser-sniffing may be justified, since there may be no ... UA string won't tell you for sure, so you are pretty much out of luck ...
    (comp.lang.javascript)