Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: perl in the stars

by Anonymous Monk
on Dec 19, 2022 at 14:06 UTC ( #11148977=note: print w/replies, xml ) Need Help??


in reply to Re^2: perl in the stars
in thread perl in the stars

Stellar data can be accessed with Astro::SIMBAD::Client, but idk how to parse it:
perl -MAstro::SIMBAD::Client -le '$s=Astro::SIMBAD::Client->new;@q=spl +it /\n/, $s->url_query(id => Ident => "$ARGV[0]", NbIdent => 1);@r=gr +ep/ICRS/,@q;print for @r' aldebaran
Result:
Coordinates(ICRS,ep=J2000,eq=2000): 04 35 55.23907  +16 30 33.4885 (Opt ) A [7.38 5.70 90] 2007A&A...474..653V

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148977]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-10-04 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?