roadskater,
@roadskater@mastodon.social avatar

Looking to do an update on a script on the office webserver, I looked up the perldoc for a module and ran into, "PLEASE DO NOT USE THIS MODULE IN NEW CODE". 🤔

mjgardner,
@mjgardner@social.sdf.org avatar

@roadskater Which module?

Also, it’s technically not new code…

roadskater,
@roadskater@mastodon.social avatar

@mjgardner It's a script using XML::Simple originally written in, I think, 2014. I think it was deprecated even then.

mjgardner,
@mjgardner@social.sdf.org avatar

@roadskater Yep, XML::Simple v2.20 from 2012:

“The use of this module in new code is discouraged. Other modules are available which provide more straightforward and consistent interfaces. In particular, XML::LibXML is highly recommended.

"The major problems with this module are the large number of options and the arbitrary ways in which these options interact - often with unexpected results.”

https://metacpan.org/release/GRANTM/XML-Simple-2.20/view/lib/XML/Simple.pm#STATUS-OF-THIS-MODULE

#Perl #XML #CPAN

ology,
@ology@fosstodon.org avatar
mjgardner,
@mjgardner@social.sdf.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • osvaldo12
  • modclub
  • JUstTest
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • megavids
  • lostlight
  • All magazines