Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: cpanm says OK but module not really installed

by Anonymous Monk
on Oct 19, 2019 at 18:58 UTC ( #11107710=note: print w/replies, xml ) Need Help??


in reply to Re^3: cpanm says OK but module not really installed
in thread cpanm says OK but module not really installed

Too many arguments at /usr/local/share/perl/5.26.1/Astro/SpaceElevator.pm line 204.

# first we check to see if the sun has risen over the base station.
my (undef, $elevation, undef) = $base->azel($sun, 1); # line 204

azel is a method of Astro::Coords::ECI that only takes one arg (the object $sun). However due to the nature of the code and the extra arg I suspect he meant to call azel_offset, where the "1" refers to the upper limb of the sun, to compute sunrise:

my (undef, $elevation, undef) = $base->azel_offset($sun, 1); # line 20 +4

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2019-11-22 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (113 votes). Check out past polls.

    Notices?