Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: how to open a data file via http

by pKai (Priest)
on Feb 27, 2007 at 17:31 UTC ( #602352=note: print w/replies, xml ) Need Help??


in reply to Re^4: how to open a data file via http
in thread how to open a data file via http

The goal was a replacement for <FILE>, so anything that doesn't return what <FILE> would is buggy. … I didn't consider autochomping a bug.

O.K., that clarification gives me enough context where you were heading to.

An added chomp($data) before the split /\n/,,-1 will also conform to that abstraction of lines.

Update: Added the missing ,-1

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2021-04-11 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?