vnpandey has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
RE: find th bug!!!
by Odud (Pilgrim) on Jun 20, 2000 at 19:58 UTC
    Vishambhar it seems as though you are having some trouble posting your question so that others can read it. Why not e-mail the whole script to me at pete_barlow@cwcom.net and I will either solve your problem or post it properly so that cleverer people than me can help you. I will be checking this e-mail account from 18:00 UTC so even if you don't want to post the whole thing we can perhaps sort something out.

    Odud
      for (1..1000) { Odud->addXP(); }
      That was a really Monkish post. I'm impressed. :)

      /brother t0mas
RE: find th bug!!!
by BigJoe (Curate) on Jun 21, 2000 at 01:00 UTC
    I did a view source on this page and it shows the script correctly so I am going to try to repost it for him with code tags. <CODE> I am trying to run the programme but am gettiing thre following error, so it is a request to monks to pls help me out!!!!syntax error at checkdataperl.p line 249, near "for" syntax error at checkdataperl.p line 250, near "++) " syntax error at checkdataperl.p line 286, near "}" Execution of checkdataperl.p aborted due to compilation errors. #!/usr/local/bin/perl print("\n \nWelcome !! Please input the response very carefully in this programme whenever asked for \n Now please ensure that before running the programme you have run the vp29apr programme for the corresponding hour and also the 1d files for the j or t hour as applicable are has also been run upon \n Now please enter the hour for which you want to check the data quality (a,b,..x) \n?" ); $hour=<STDIN>;chop($hour); print("you entered ", $hour ,"\n"); $comparison=3;@arrone=();@arrtwo=(); @array=("o","p","q","r","s","u","v","w","x","a","b"); if ($hour eq "j") { $comparison=$hour; } elsif($hour eq "t") { $comparison=$hour; } else { for($n=0;$n<=10;$n++) { if($array$n eq $hour) { $comparison="t"; } } } if($comparison ne "t") { if($comparison ne $hour) { $comparison = "j"; } %0
      the script is too long. sorry
        Aha, there's length limitation in postings? I didn't know that... is this documented somewhere? How much lines are you allowed to post?
RE: find th bug!!!
by BigJoe (Curate) on Jun 21, 2000 at 01:30 UTC
    I did a view source on this page and it shows the script correctly so I am going to try to repost it for him with code tags.
    I am trying to run the programme but am gettiing thre following error, so it is a request to monks to pls help me out!!!!syntax error at checkdataperl.p line 249, near "for" syntax error at checkdataperl.p line 250, near "++) " syntax error at checkdataperl.p line 286, near "}" Execution of checkdataperl.p aborted due to compilation errors. <CODE> #!/usr/local/bin/perl print("\n \nWelcome !! Please input the response very carefully in this programme whenever asked for \n Now please ensure that before running the programme you have run the vp29apr programme for the corresponding hour and also the 1d files for the j or t hour as applicable are has also been run upon \n Now please enter the hour for which you want to check the data quality (a,b,..x) \n?" ); $hour=<STDIN>;chop($hour); print("you entered ", $hour ,"\n"); $comparison=3;@arrone=();@arrtwo=(); @array=("o","p","q","r","s","u","v","w","x","a","b"); if ($hour eq "j") { $comparison=$hour; } elsif($hour eq "t") { $comparison=$hour; } else { for($n=0;$n<=10;$n++) { if($array$n eq $hour) { $comparison="t"; } } } if($comparison ne "t") { if($comparison ne $hour) { $comparison = "j"; } } print("\n the value of comparison is ", $compariso
RE: find th bug!!!
by Anonymous Monk on Jun 20, 2000 at 19:03 UTC
    till noe no reply??? pls ignore as I am trying to verify that I post the question!!

      AM, you are posting fine, but you need to wrap your code inside code tags. LIke this:

      <code> #bunch of code < /code>

      Without spaces inside the angle brackets.

      J. J. Horner
      Linux, Perl, Apache, Stronghold, Unix
      jhorner@knoxlug.org http://www.knoxlug.org/
      
        FYI you use the letters and symbol & gt ; all one word and you can make the  &gt;CODE&lt; stuff here &gt;/CODE&lt;Then you don't have to give directions to people on how to modify your work.

        --BigJoe