Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl server question

by dsheroh (Parson)
on Sep 10, 2012 at 09:15 UTC ( #992706=note: print w/ replies, xml ) Need Help??


in reply to Perl server question

As Perl projects go, collecting data from an external source (calling an API to get the quotes, scraping them off a website, whatever) and writing it to a file is pretty damn easy. However, as already mentioned, the fact that you're asking this question in the first place suggests that you have zero or near-zero Perl knowledge, so even a relatively easy project may still be very difficult for you. You also haven't said anything about the source you'd be getting the quotes from, which could add a bit of complexity (both technical and legal - have you verified that their terms of service would permit this?) depending on how that source is set up.


Comment on Re: Perl server question
Re^2: Perl server question
by Anonymous Monk on Sep 10, 2012 at 10:17 UTC

    I already wrote the script that succesfully scrapes the quotes, I know how to store these in a file and then i can send that to my laptop and split that possibly or parse that again. I only have no idea in what form I would sent that file directly to my laptop from a server, and how to program a server in generalxD , I will check cpan:) I checked the source and it is legal:)

      Once you've got it on disk, why not simply rsync it to the laptop?

      Or store the file somewhere on your "server" where you can retrieve it with FTP. You could even automate the retrieval by writing a little script on your laptop based upon modules such as IO::Ftp.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-07-31 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls