Menu

#627 Syntax error for switch case

v0.6.x
closed-invalid
nobody
Editor (234)
5
2016-07-01
2011-05-19
Anonymous
No

I am noticing syntax error for switch case while the syntax is perfectly valid.

Discussion

  • Nobody/Anonymous

     
  • abhishekisnot

    abhishekisnot - 2012-04-01

    For this switch syntax to work without errors 'Switch.pm' needs to be loaded by interpreter as mentioned here - http://perldoc.perl.org/Switch.html

    Try adding "use Switch;" in the script before using switch.

     
  • Oliver Trosien

    Oliver Trosien - 2016-07-01
    • status: open --> closed-invalid
    • Group: --> v0.6.x
     

Log in to post a comment.