use system perl - it's new enough now
add magnet support