Closed jeanconn closed 10 years ago
I don't remember the best perl idioms to even make a string.
Did you test this? Probably sufficient to just write a one-off script on the side that just proves that adding this line makes it possible to run something like dmlist file.fits blocks
within a perl script. That'll be good enough to merge this.
I tested by running both scripts in my dev ska (running get_cat_obs_data.pl with the -force flag) and confirming that without the fix they displayed errors and core dumped and with the fix they .. didn't.
OK, good with the testing. You can merge and install.
As for the idiomatic perl, it doesn't matter that much. I would have written it in one line (83 characters), but your 3-line version is fine too.
Installed.
On Tue, Dec 17, 2013 at 4:40 PM, Tom Aldcroft notifications@github.comwrote:
OK, good with the testing. You can merge and install.
As for the idiomatic perl, it doesn't matter that much. I would have written it in one line (83 characters), but your 3-line version is fine too.
— Reply to this email directly or view it on GitHubhttps://github.com/sot/astromon/pull/3#issuecomment-30793968 .
This is a work-around for a SKA vs CIAO CFITSIO library conflict that arises in CIAO 4.6.