Bug: Using switch in EPIC breaks the validate

pmak
2009-03-18
2013-05-20
  • pmak

    pmak - 2009-03-18

    Hi,

    I believe this is a bug in EPIC but may be I am doing something wrong here.

    1. Open the EPIC IDE.
    2. Create a perl project.
    3. Add a perl file foo.pl
    4. Type this in the
       use Switch;
       print a"'''  pressing enter the "validate syntax will NOT complain".
    5. just comment the "use Switch;" above then you can see all warnings errors etc.

    It looks straight forward to me.

    Any comments?

     
    • Jan Ploski

      Jan Ploski - 2009-03-18

      It works for me (using EPIC 'testing'). It does complain about a missing string terminator.

       
      • pmak

        pmak - 2009-03-18

        Oh realy,

        I tried it again see this below

        #use Switch;
        printf "test"    # without the semicolon here

        $abc=1;  # I got a Red (X) sign here , when I uncomment the 'use' it dint show this.

        I am using the "Version: 3.4.0
        Build id: I20080617-2000".

         
        • Jan Ploski

          Jan Ploski - 2009-03-18

          Version of Eclipse doesn't matter, version of EPIC matters (Help/About Eclipse/Feature Details). Your new example also works as expected for me.

           
          • pmak

            pmak - 2009-03-18

            My Version is '0.6.13'

             
            • Jan Ploski

              Jan Ploski - 2009-03-18

              Try upgrading to the current version 0.6.31 using Help/Software Updates... and repeat the test.

               

Log in to post a comment.