Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I'm not a huge fan of the "treat everything as a local file" abstraction. You run into all kinds of pain for things like big files, authentication, proxies etc.

    In 5.8 I'm sure can you do something like: open my $fh, \get($url)?

    • We've had this discussion before and I definitely see your point. However, what you bring up is the sort of problem that I'm talking about. Ultimately, these document fetching mechanisms all boil down to "open, read/write and close". There are a few fiddly bits in there, but I don't want to deal with them. I want to simply "fetch a document from a resource". To put this in perspective, consider the JCL (job control language) used by mainframe programmers in the 60s to work with a file (and this type of

    • PHP has this "feature" []. It's lead to quite a few security holes. Granted, trusting user input is a worse decision, but abstractions can occasionally hide things that shouldn't be hidden.