open remote file without modules

Any ideas how to open a remote file (image to be exact) without any
modules involved (like LWP)?
mkc [ Mi, 04 Januar 2006 19:03 ] [ ID #1127351 ]

Re: open remote file without modules

mkc wrote:
> Any ideas how to open a remote file (image to be exact) without any
> modules involved (like LWP)?

1) Define "remote"

2) Why?

Paul Lalli
Paul Lalli [ Mi, 04 Januar 2006 20:57 ] [ ID #1127352 ]

Re: open remote file without modules

In article <1136397821.662727.27270 [at] g47g2000cwa.googlegroups.com>, mkc
<michal.wronowski [at] gmail.com> wrote:

> Any ideas how to open a remote file (image to be exact) without any
> modules involved (like LWP)?

Is the remote system on which the file is stored running a web server
or any other type of file sharing service such as NFS, FTP, SMB, or
SSH?

If it is running a web server, then you can open a socket to the system
on port 80, send an appropriate GET command, and read the response.
However, it might get a little tricky to parse the reponse since it
will contain binary data.

Can you explain why you don't want to use a module?

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Jim Gibson [ Mi, 04 Januar 2006 21:12 ] [ ID #1127353 ]

Re: open remote file without modules

since this is my study excercise to solve the problem without using
modules :|
i need to read some rfcs i suppose, thank you
mkc [ Mi, 04 Januar 2006 22:19 ] [ ID #1127354 ]
Perl » alt.perl » open remote file without modules

Vorheriges Thema: Reference of table of hask
Nächstes Thema: function or operator to ignore metacharacters like +