On Mon, 29 Aug 2005, Ken Perl wrote:
The password used to access a ftp server is stored in a text file, the
perl program gets the password from the file, the pass it to the ftp
server for logon, this is the background.
The requirement is encrypt the password store in a more secure way,
and
Hi list
I have im trying to enhance my regex skill.
My questions is, would
m/^p11[016]/io
match like
m/^(p110|p111|p116)/io
Any tips or advice, would greatfully be appreciated.
Kind Regards
Brent Clark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi List
I have a scenario / debate if you wish with my colleague.
The problem is I have to update a CSV file and the way I do it open the file
while reading / editting it I then send it to a temp file, unlink the original
and the rename the temp
to the original file name (Baring in mind I do
Hi All,
I am trying to access a directory and print all files in a html doc as
hyperlinks. Any and all help would be greatly appreciated.
-r
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi All,
I am trying to post the contents of a directory as HTML hyperlinks. The files
are all PDF format (which should not matter much).
thanks
-r
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Brent Clark mailto:[EMAIL PROTECTED] wrote:
: I have im trying to enhance my regex skill.
:
: My questions is, would
:
: m/^p11[016]/io
:
: match like
:
: m/^(p110|p111|p116)/io
Yes.
: Any tips or advice, would greatfully be appreciated.
Why not test you regex to see if it works?
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
: I am trying to post the contents of a directory as HTML
: hyperlinks. The files are all PDF format (which should not
: matter much).
When solving, you might try breaking a problem down into
manageable pieces. I tend to think of each piece
I am new to perl and working for a small project...
I need some help from you..
How to get all the first days of a week in a month.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
[EMAIL PROTECTED] am Sonntag, 28. August 2005 18.08:
Hi All,
I am trying to post the contents of a directory as HTML hyperlinks.
Great!
The files are all PDF format (which should not matter much).
Nice to know!
joe (who likes apples)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Brent Clark wrote:
Hi List
Hello,
I have a scenario / debate if you wish with my colleague.
The problem is I have to update a CSV file and the way I do it open the
file while reading / editting it I then send it to a temp file, unlink
the original and the rename the temp
to the original
Brent Clark wrote:
Hi list
Hello,
I have im trying to enhance my regex skill.
My questions is, would
m/^p11[016]/io
match like
m/^(p110|p111|p116)/io
Any tips or advice, would greatfully be appreciated.
It appears that they would both match the same string although I would
Anil Kumar, Malyala wrote:
I am new to perl and working for a small project...
I need some help from you..
How to get all the first days of a week in a month.
$ perl -le'
# get every Monday for August 2005
use Time::Local;
# start at noon August 1st
my $day = 1;
while ( eval { @date =
On Mon, 29 Aug 2005, Anil Kumar, Malyala wrote:
I am new to perl and working for a small project...
I need some help from you..
How to get all the first days of a week in a month.
There is a module Date::Calc and from that
Day_of_Week
$dow = Day_of_Week($year,$month,$day);
Here is a
Ken Perl wrote:
The password used to access a ftp server is stored in a text file, the
perl program gets the password from the file, the pass it to the ftp
server for logon, this is the background.
The requirement is encrypt the password store in a more secure way,
and the perl program could
Hi List
This whole, using seek has kind put me off for the day.
Would someone be so kind as to please over look me code and if possible, point
out where I am going wrong.
Kind Regards
Brent Clark
===
open(HDATFILE, + $fileName.dat)
How check DBI version on the server?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints the old directory name not the new one. In other words,
the previous (cd) command hasn't taken its effect!
Do anyone know why?
Thanks And Best Regards,
Eliyah
--
To
Here's the situation:
Some dude working in my company needs a program that does this-
-There are over a 100 PDF files in some folder on a Mac Machine
-The program to be written is supposed to invoke Adobe Acrobat
Professional 7 (Mac version) and open each file from the directory
-
a input like these : 20050829 and I need to change it to
something like this : Aug 29 2005
but it still eludes me how to do that
can anyone help me please?
---
I normally don't just give out answers. Next time I'm sure someone will
say do your own homework
Eliyah Kilada wrote:
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints the old directory name not the new one. In other
words, the previous (cd) command hasn't taken its effect!
Do anyone know why?
Each call to system()
Maxipoint Rep Office wrote:
How check DBI version on the server?
perl -MDBI -le 'print $DBI::VERSION'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
On Aug 29, Anil Kumar, Malyala said:
How to get all the first days of a week in a month.
How do you define the first day of a week? Do you mean I want to know
the dates of every Sunday in a month? Please be specific.
--
Jeff japhy Pinyan % How can we ever be the sold short or
On Aug 29, Brent Clark said:
Would someone be so kind as to please over look me code and if possible, point
out where I am going wrong.
Would you be so kind as to explain what happens with it that you didn't
expect to happen? (Or what doesn't happen that you'd expected to happen.)
John W. Krahn wrote:
Which operating system is this file on? Do you have ACLs or some such
security to guaranty file locking?
John
Hi John
Thanks for replying to my email.
The file is a CSV file and so it will sit on Linux and sometimes a Win32
machine.
In terms of the file locking, I
On Mon, 29 Aug 2005, Vince wrote:
Someone supposedly told the dude that this script in Perl was easy to
write! But, un/fortunately, I have no idea where to begin.
Personally, I'd start with either...
* the macosx@perl.org list, which specializes in this kind of thing
* AppleScript, which
Brent Clark wrote:
Hi List
I have a scenario / debate if you wish with my colleague.
The problem is I have to update a CSV file and the way I do it open
the file while reading / editting it I then send it to a temp file,
unlink the original and the rename the temp to the original file
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Or weren't.
So its working now then?
What changed?
Changes to the file system wrought in the shell are not visible to the
calling Perl program until the shell's file handle is closed or
otherwise reset. Simply had to close() the file handle
In which order are the paths in @INC searched for modules? More
specifically, if you have two nearly identical modules (where one is
version 1.1 and the other 1.2, for example) in different areas in your
@INC, and 'print joint(\n,@INC) generates the following list...
/path/to/module (v1.1)
Hi,
How can I access a specific child process, such that I put all my system
commands in one child process?
Thanks alot
Eliyah
Bob Showalter wrote:
Eliyah Kilada wrote:
Hi,
It seems that the following code gives unexpected results:
system (cd $dir_name);
system (pwd);
--- this prints
Anil == Anil Kumar [EMAIL PROTECTED] writes:
Anil I am new to perl and working for a small project...
Anil I need some help from you..
Anil How to get all the first days of a week in a month.
Using the bloated Date::Manip:
use Date::Manip;
my @dates = ParseRecur(every sunday in aug
JupiterHost.Net wrote:
Ken Perl wrote:
The password used to access a ftp server is stored in a text file, the
perl program gets the password from the file, the pass it to the ftp
server for logon, this is the background.
The requirement is encrypt the password store in a more secure
On Aug 29, Andrew Stewart said:
...which version will Perl end up ultimately loading at 'use module'?
It goes in order of @INC (and its subdirectories), and uses the first one
it finds.
--
Jeff japhy Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the
On Aug 29, Eliyah Kilada said:
How can I access a specific child process, such that I put all my system
commands in one child process?
It sounds like you want a shell script rather than a Perl program. Or,
perhaps you should figure out how to do things via Perl rather than
calling the
From: Wiggins d'Anconia [EMAIL PROTECTED]
Considering it is FTP who cares about permissions too. It is an insecure
protocol to begin with, the password is sniffable during transmission
anyways, really the words FTP and secure don't belong in a sentence
together, unless they are included with
Ken Perl wrote:
The password used to access a ftp server is stored in a text file, the
perl program gets the password from the file, the pass it to the ftp
server for logon, this is the background.
The requirement is encrypt the password store in a more secure way,
and the perl program could
Hi,
I suck at regex, but getting better. :)
I'm probably reinventing the wheel here, but I tried to get along with
HTML::Parser and just couldn't get it to do anything. To confusing, I
think.
I simply want to get a list or real words from an HTML string, minus all
the HTML stuff. For
Scott Taylor mailto:[EMAIL PROTECTED] wrote:
: Is there a better, maybe more eligant, way to do this? I don't
: mind to use HTML::Parser if I could only figure out how.
use HTML::TokeParser;
my $html = q(
This is a line of HTML:people write strange things herebr
and hardly ever follow
All,
This is my first attempt at using perl to work with a windows system
and need some help. I need to check for some registry entries made by
a virus and remove them. Which is the best module for this and do you
know of any example code I can look at?
Thanks for the help,
Tim
--
To
-Original Message-
From: Tim Wolak [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 2:08 PM
To: beginners@perl.org
Subject: windows registry
All,
This is my first attempt at using perl to work with a windows system
and need some help. I need to check for some registry
Check out Win32::TieRegistry. It makes quick work of most registry
operations.
#
#Example
use strict;
use warnings;
use Win32::TieRegistry (Delimiter = '/');
my $path = Software/Microsoft/Windows/CurrentVersion/Run;
my @computers = qw(computerA computerB computerC);
On Mon, 29 Aug 2005, Tim Wolak wrote:
This is my first attempt at using perl to work with a windows system
and need some help. I need to check for some registry entries made by
a virus and remove them. Which is the best module for this and do you
know of any example code I can look at?
Start with a CPAN search.
http://search.cpan.org/search?query=windows+registrymode=all
I see several promising ones at the top of the list. Look them over and
decide which you think should best meet your needs.
Don't use either of the first two, they're not what you're looking for.
Hi,
- I agree with u that a shell script is more appropriate, but how I can
write regular expressions in this way ? ;-)
Regards,
Eliyah
Jeff 'japhy' Pinyan wrote:
On Aug 29, Eliyah Kilada said:
How can I access a specific child process, such that I put all my
system commands in one
Hi,
I have a perl cgi application, not mod_perl, but an actual .cgi application
running under apache on OS X.
As many web apps, it makes use of some long get requests with variable labels
and values. For example:
http://server.com/cgi-bin/app.cgi?t=new.htmc=jlpnew.html
I wrote a working
On Monday 29 August 2005 19:20, Blake Girardot wrote:
I have a perl cgi application, not mod_perl, but an actual .cgi application
running under apache on OS X.
As many web apps, it makes use of some long get requests with variable
labels and values. For example:
Maybe the protocol is SFTP and the transmission is secure...
*transmission* maybe not source code, which is the OP's issue...
By the way, isn't there a perl module that can crypt a string using a
password (which can be used to decrypt it back)?
Yes but then you have to store the cypher or
Hi,
I want the first day of every week in a month...
Example consider Sep 2005
So I want
1 Sep 2005 (which is the first day of 1st week in Sep)
5 Sep 2005 (which is the first day of 2nd week in Sep)
12 Sep 2005 (first day of 3rd week in sep)
19 Sep 2005 (first day of 4th week in Sep)
26 Sep
On Tue, 30 Aug 2005, Anil Kumar, Malyala wrote:
I want the first day of every week in a month...
Example consider Sep 2005
So I want
1 Sep 2005 (which is the first day of 1st week in Sep)
5 Sep 2005 (which is the first day of 2nd week in Sep)
12 Sep 2005 (first day of 3rd week in sep)
48 matches
Mail list logo