User Profile

Collapse

Profile Sidebar

Collapse
getmadhu
getmadhu
Last Activity: Mar 21 '08, 10:17 PM
Joined: Mar 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • getmadhu
    replied to Pease help me out with the program
    in Perl
    Hi eWish...


    This is what I am looking for....

    From the scrap perl code @sql array which contains set of elements. those elements need to loop and search in a file sample.pl to find out for the @sql elements located in the perl file or not. If they regular expression satisfies and found the @sql elements from the sample.pl (instead of text file, I am searching perl files) those lines need to append $prn and later...
    See more | Go to post

    Leave a comment:


  • getmadhu
    replied to Pease help me out with the program
    in Perl
    Kevin,

    Sorry for the inconvenience.. .

    This is the sample file which the array is searching whether element is presentor not

    sample.pl
    ----------------

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html lang="en">
    <head>
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    ...
    See more | Go to post
    Last edited by eWish; Mar 21 '08, 08:39 PM. Reason: Please use [code][/code] tags

    Leave a comment:


  • getmadhu
    replied to Pease help me out with the program
    in Perl
    Thanks Kevin for looking into it...

    Actually I am not comparing the complete line with the array

    In the file each line contains set of words with in that I am searching the array element is present in that line or not

    I hope Kevin that u had an idea what I am looking for....

    Thank you
    See more | Go to post

    Leave a comment:


  • getmadhu
    started a topic Pease help me out with the program
    in Perl

    Pease help me out with the program

    [CODE=perl]@sql = ('SV_userLogin. sql','sv_getDB_ cmpCnt_r3m.sql' ,'sv_getDB_cmpC nt.sql','sv_get DB_Corp_Trgt.sq l','sv_getDB_sc ore.sql','sv_ge tDB_Top25_cmpCn t.sql','sv_getD B_Top25_score.s ql','sv_getOrgN ameById.sql');
    my $prn;
    foreach ( @sql )
    {
    my $line = $_;
    if($line =~ s/^(\S+).sql$/$1/)
    {
    print "$line\n";
    open(FILE,"c:/perl-scripts/sample.pl");...
    See more | Go to post
    Last edited by eWish; Mar 21 '08, 08:38 PM. Reason: Please use [code][/code] tags

  • getmadhu
    replied to Error: 'null' is null or not an object
    Please help me to get rid of the above problem
    See more | Go to post

    Leave a comment:


  • getmadhu
    started a topic Error: 'null' is null or not an object

    Error: 'null' is null or not an object

    Hi All...
    Any one help me with the above weird error

    I have a code like below

    [CODE=perl]print <<"HTML";
    Content-type: text/html

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">...
    See more | Go to post
    Last edited by acoder; Mar 20 '08, 11:56 AM. Reason: Added code tags

  • Hi frnds,

    Thanks a lot.. Problem got resolved... I just sent the $var to javascript function as an argument and taken into a js variable.

    <script type="javascrip t">
    initParam($var)
    </script>
    See more | Go to post

    Leave a comment:


  • Thank you eWish for you efforts to help me out...

    Some one plzz...help me
    See more | Go to post

    Leave a comment:


  • eWish..

    Yes, It is the input variable I am getting from the database.
    See more | Go to post

    Leave a comment:


  • Thanks Kevin for the response...

    Is there any other way with out using the CPAN module.. because I already wrote a huge no. of lines of code(Perl/CGI/HTML/Javascript).. So, I don't want to change the whole thing. It will mess up completely....

    I searched a lot to get that.. still I am unable to get the sol.. If any one help me this. really I will be very thank full to him
    See more | Go to post

    Leave a comment:


  • How can i pass and access a Perl var parameter in a Javascript function

    Hi All,

    How can i pass a Perl var($val) as a parameter to a Javascript function.

    Please can any one help me out...

    ex:
    Perl Code
    ----------------
    Code:
    $var = 'sample'
    <select name="sample" onChange="lbChange('sample');">
    instead of above I want to pass the perl var

    Code:
    <select name="sample" onChange="lbChange(
    ...
    See more | Go to post
    Last edited by eWish; Mar 18 '08, 03:02 PM. Reason: Added Code tags
No activity results to display
Show More
Working...