Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: How does perl's file I/O work?

by Fletch (Bishop)
on Jan 20, 2003 at 20:21 UTC ( [id://228477]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: How does perl's file I/O work?
in thread How can I access a file on a remote server?

It's more clear, but it's still trivial. Unless you can produce specific code that you've attempted to write that produces an error which you can't understand the entry for which in perldoc perldiag, you're probably not going to get someone jump forward and offer to write your program for you. Your best bet is to either show the code that's not working, or avail yourself of a tutorial or book (or any of the number of code samples available in the Snippets Section).

Replies are listed 'Best First'.
Re: Re: Re: Re: How does perl's file I/O work?
by Anonymous Monk on Jan 20, 2003 at 20:27 UTC
    Thanks for all you help first of all I appreicate it. the thing is, I have no idea how to start like I don't know where to look...is this a socket client/server communication type of thing or what? like....if u see what I mean...yes it is just a simple opening a file on unix system problem...if my program/script is on the unix system then it's easy, evena beginner knows...but the problem is I have to access that file OUTSIDE of the system. like...I have no idea perl could do taht before and I had been searching for days I don;'t know where to look. If someone could give me some ideas or some hints as to wehre to look for answer that would be great. I had been looking at differnet functions, POSIX and stuff....no idea....I am really lost.

      You need to determine how the file can be accessed from 'outside'. If the file is accessable through an FTP server, you can read it with Net::FTP. If it is available on a web server, you can try various modules including LWP::Simple.

      --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found