Syntax Highlighting Error?

Help
balbus000
2013-02-11
2013-05-20
  • balbus000
    balbus000
    2013-02-11

    I'm working on a project that has the following line:

    my ($key,$value) = split /\=/, $line;
    

    Everything after the second '/' is highlighted as a "Literal2" continuing multiple lines until there is another '/'. Is this an error with the syntax highlighting parser? Is there a better way to split key / value pairs on an equal sign that doesn't cause this issue?

    Thanks

     
  • Mel
    Mel
    2013-03-21

    Epic wants to see split().

    my ($key,$value) = split(/\=/, $line);
    
     
  • balbus000
    balbus000
    2013-03-28

    Thanks! That was really bothering me.