- Hey Gert, IMO capturing an OS event would be a litle complicated to be done through Perl, Other option is to simply poll for the event. I think the simplestMessage 1 of 10 , Oct 8, 2006View SourceHey Gert,
IMO capturing an OS event would be a litle complicated to be done through
Perl, Other option is to simply poll for the event.
I think the simplest way would be to write a small perl script which does
all the work (grab the image , modify, upload, cleanup) and schedule it to
run via windows scheduler to run every minute or so.
If this works for you let us know.
----- Original Message -----
From: "drgert1" <drgert1@...>
Sent: Monday, October 09, 2006 4:59 AM
Subject: Re: [PBML] Writing a Perl Script for Amateur Astronomy Web Event
> Hi Randal,
> Sorry for being unclear in my post.
> Well, I need Perl to do what I said:
> "I need perl to wait for the OS event that a new file came in and then
> go ahead and grab it."
> I don't know how to do that. If some friendly person could post a few
> sample lines of code / point to a web page that does that it would help.
> My knowledge of Perl is only superficial. I don't know:
> 1. can Perl do this at all? If not I will have to look for other
> scripting solution to do the task. Maybe I will look up windows shell
> 2. If my specification of the task is not clear maybe a better
> specification can be crafted and a Perl based solution provided for it.
> Let me know if this clarifies the issue.
> --- In email@example.com, merlyn@... wrote:
> > >>>>> "drgert1" == drgert1 <drgert1@...> writes:
> > drgert1> To recap. In my planning I need perl to wait for the OS
> event that a
> > drgert1> new file came in and then go ahead and grab it. As a last
> > drgert1> polling might be OK but would be less elegant.
> > And what's your perl question?
> > --
> > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
> 777 0095
> > <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
> > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
> Unsubscribing info is here:
> Yahoo! Groups Links
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
- ... drgert1 Third: You are bringing up a great suggestion with resp. drgert1 to having someone write the code. I would very much like to make this drgert1Message 2 of 10 , Oct 8, 2006View Source
>>>>> "drgert1" == drgert1 <drgert1@...> writes:drgert1> Third: You are bringing up a great suggestion with resp.
drgert1> to having someone write the code. I would very much like to make this
drgert1> call to the community to step up and help out. The stargazer group
drgert1> that I want to do this project for is non-profit and so no money can
drgert1> be paid for the contribution. However the individual would help the
drgert1> public outreach for education in science and promoting the case of
drgert1> astronomy. Of course credits for the contribution will be given on the
drgert1> event web page. I encourage you to check out the Trivalleystargazers
drgert1> group webpage to see our activities in the public.
But even as interesting and as noteworthy as that goal is, that is NOT the
purpose of THIS group. This group is about Perl programmers helping other
Perl programmers. That's why off-topic messages must be delivered elsewhere.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!