Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: unusual behaviour with Inline-Files and IO-Handle (select)

by kcott (Archbishop)
on Dec 07, 2015 at 19:02 UTC ( [id://1149602]=note: print w/replies, xml ) Need Help??


in reply to Re^2: unusual behaviour with Inline-Files and IO-Handle (select)
in thread unusual behaviour with Inline-Files and IO-Handle

"so I think Inline::Files is acting really weird, instead of writiing to an external file, it writes to a new data section in my script."

Far from being "really weird", that's actually documented behaviour. It even alerts you to this behaviour in the WARNING section which has two paragraphs:

  1. "It is possible that this module may overwrite the source code ..."
  2. "This module is still experimental. ..."

I have used Inline::Files for demonstration purposes only (particularly on this site) to save having to create and list multiple input files as well as the source code of my script. I have never used this module in production and, given its experimental status, never intend to.

If you are using this module in production code, I'd strongly recommend finding an alternative, non-experimental solution.

— Ken

  • Comment on Re^3: unusual behaviour with Inline-Files and IO-Handle (select)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-23 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found