|Think about Loose Coupling|
Safe.pm: Which parameter for permit_only?by karlgoethebier (Parson)
|on Jun 13, 2014 at 11:08 UTC||Need Help??|
karlgoethebier has asked for the
wisdom of the Perl Monks concerning the following question:
i use the cc tool that comes with Astaro firewalls to get some information about the status of several tunnels (cc get_ipsec_status).The output is pure Perl, like this:
For some paranoid reasons, i considered using Safe to read this output:
This works - if i uncomment qx() this gets trapped as one can see in the output of my script.
Too much. What parameter must i pass to permit_only only for reading this data structure? I couldn't figure out this by reading the Opcode manpage :-(
First, thanks to all for answering. I wasn't in office this week due to a little illness so my answer is a bit late, sorry.
But my proxy fiddled out this by Trial-And-Error:
Strange enough. It seems like this works nice with v5.16.3 but please see what happens:
Very bad... seems like it depends on the version of Perl...
Thank you very much for any hint and best regards,
«The Crux of the Biscuit is the Apostrophe»