Print

Print




On Tue, Nov 8, 2011 at 12:32 AM, Peter W. Draper <[log in to unmask]> wrote:
On Mon, 7 Nov 2011, Tim Jenness wrote:

On Tue, Oct 18, 2011 at 4:39 AM, Peter W. Draper <[log in to unmask]>
wrote:

More recently (after Brad's re-write) there is also an option to pass
in a SExtractor text format file instead. This is all documented in:

  pod2text $AUTOASTROM_DIR/autoastrom

(autoastrom -man doesn't seem to work).


--man works for me.

No success with that either:

autoastrom --man
syntax error at /star-kaulia/Perl/bin/perldoc line 2, near "if 0"
BEGIN not safe after errors--compilation aborted at /star-kaulia/Perl/bin/perldoc line 7.

cat /star-kaulia/Perl/bin/perldoc
#!/usr/bin/env starperl
       if 0;


which is completely broken of course. Looks like an editing error by Luca when he was replacing all the


#!/star/Perl/bin/perl

eval 'exec /star/Perl/bin/perl  -S $0 ${1+"$@"}'
    if 0; # not running under some shell

code that Perl inserts into 

#!/usr/bin/env starperl

which allows for relocation of /star.

In this case autoastrom is already an alias so the simplest fix would be to change the cshrc/profile to use

  starperl $AUTOASTROM_DIR/autoastrom


-- 
Tim
---- Starlink User Support list For list configuration, including subscribing to and unsubscribing from the list, see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK