Parse:...cessors(3pm)

πŸ“¦
version 0.43 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Parse::HTTP::UserAgent::Base::Accessors β€” the accessors manual πŸ’–

hey bestie!! so this is a page from the User Contributed Perl Documentation section of the manual, and it's literally just the ✨ accessor era ✨ of Parse::HTTP::UserAgent::Base::Accessors. Sit down, grab a strawberry πŸ“, let's go.


🌈 NAME 🌈

Parse::HTTP::UserAgent::Base::Accessors β€” the available accessors, no cap. πŸŽ€


⭐ VERSION ⭐

version 0.43 πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so this is the whole vibe right here, copy it exactly:

use Parse::HTTP::UserAgent;
my $ua = Parse::HTTP::UserAgent->new( $str );
die "Unable to parse!" if $ua->unknown;
print $ua->name;
print $ua->version;
print $ua->os;

like, you make a $ua, you check if it's unknown and die if it is, and then you just... print the good stuff. slay. πŸ”₯


🧚 DESCRIPTION 🧚

these methods are how you get at the various parts of the parsed structure. that's it, that's the whole thing. it's giving "gateway to the data" and honestly we're obsessed. πŸ’œ

tiny heads up: the original page says "Ther methods" β€” a lil typo, an iconic moment, we don't fix it, we simply acknowledge it and move on. πŸ’€

🚨 DEPRECATION NOTICE 🚨

this module is DEPRECATED. 😭 not me being the bearer of bad news fr fr.

please use HTTP::BrowserDetect instead. that's the one you want now, bestie. the old one ate, but its time has passed. πŸ‘‘


πŸ‘‘ ACCESSORS πŸ‘‘

the parts of the parsed structure can be accessed using these methods:

  • device
  • dotnet
  • extras
  • generic
  • lang
  • mobile
  • mozilla
  • name
  • original_name
  • original_version
  • os
  • parser
  • robot
  • strength
  • tablet
  • touch
  • toolkit
  • unknown
  • version
  • wap

twenty of them. all listed. no skips, no shortcuts, we don't do that here. 🌸


πŸ‘€ SEE ALSO πŸ‘€

  • Parse::HTTP::UserAgent β€” go look, it's right there, the main character of the whole saga. ✨

πŸ’… AUTHOR πŸ’…

Burak Gursoy β€” thank you for your service, legend. 🫢


this software is copyright (c) 2009 by Burak Gursoy.

this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. 🌈


and that's the page!! mwah πŸ’– this was Parse:...cessors(3pm) from perl v5.40.1, dated 2025-05-16 β€” take care of yourself, hydrate, and remember: deprecated modules still deserve love, just not new projects. bye bestie!! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from