Got error when slice to svg with slic3r-console.exe

I got this error message when i sliced a stl file to svg file:
 C:\Users\ZYF>"D:\slic3r\slic3r-console.exe" "d:\box.stl" --export-svg
Can't use an undefined value as a symbol reference at D:/Slic3r/lib/std/Slic3r/Print.pm line 507.