Syntax problem

2018-03-27 Thread Olivier
t type should I use for the variable? - What will be the syntax for the $ldap->modify statement? Thanks in advance, Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

What hash function to use

2018-08-23 Thread Olivier
ot support $2b$ as far as I can tell. Thanks in advance, Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: What hash function to use

2018-08-23 Thread Olivier
Илья Рассадин writes: > Hi! > > See encpass from Passwd::Unix > > https://metacpan.org/pod/Passwd::Unix Thanbk you, but unless I miss something Password::Unix only provides MD5, not Blowfish. Best regards, Olivier > > On 8/23/18 10:54 AM, Olivier wrote: >> Hello

Re: What hash function to use

2018-08-23 Thread Olivier
by the software was what I could see for an account I has created manually. Best regards, Olivier > > On Thu, Aug 23, 2018 at 8:30 AM Mike Flannigan wrote: > > I hope somebody helps you with this. > > I don't think this will help you. It sounds > like you already know

Re: How to compare timestamp in two different files(regex)

2018-10-23 Thread Olivier
one half of the work: you still need to be able to compare the date & time. You should really go the route suggested earlier and use a Perl module made for date manipulation, it will seve you hours of debugging; and you will be able to convert any date into a timestamp (epoch) and simpl

Re: Geo::WebService::Elevation::USGS

2019-08-28 Thread Olivier
P 1/3 arc-second >     583.54 >     Feet >   > > > > > When I go to: > https://nationalmap.gov/epqs/pqs.php?x=-90.76983&y=38.72360&units=feet&output=xml > it gives: > > >   >     3DEP 1/3 arc-second >     583.54 >     Feet >

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
://google.com'); print $test; When that is working, start changing things one at a time and check at each stage that it is still working. You may also explore the documentation of LWP::Simple to get an error message that makes sense, because what you get so far is only 'it does not wo

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
-- And another question... Are you using any proxy in your broswer? If you do, how did you imnplemented that proxy in LWP::Simple? Olivier Olivier writes: > Mike writes: > >> Thanks for the response. >> >> I agree with everything you say. >> I just want my LWP:

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
s really the first question, the first step to build the diagnostic. So far, I cannot even decide whether the version of LWP::Simple installed on your machine is properly working or not. So I cannot decide whether it is a network problem or a software problem. Best regards, Olivier > We see t

Re: Geo::WebService::Elevation::USGS

2019-09-01 Thread Olivier
uase it is encrypted, it is almost impossible to debug by hand. Olivier > > On 8/29/2019 9:33 PM, Olivier wrote: >> Mike writes: >> >> Sorry Mike, but I have hard time to get a clear picture of what you are >> saying. >> >> Did you manage to use LWP::

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Olivier
regex: you look for a decimal number ending with 0 or 5, and it must be the last number of the line. What about something simple like: /(\d*[05])\D*$/ The Regex Coach is your friend (and works well under wine). It alsways help to present with some sample data. Best regards, Olivier >&

Re: reading data from a web site

2019-11-19 Thread Olivier
fied to include the type of data you have selected. Being frames makes it much easier, you hould not have to care about the javascript too much. Olivier > When using a web browser, I need to log in into the web site and follow a > couple links to finally get to the page I want. This page

Re: reading data from a web site

2019-11-20 Thread Olivier
hw wrote: > On Wednesday, November 20, 2019 3:29:00 AM CET Olivier wrote: > > hw writes: > > > Hi, > > > > > > how can I read data from a web site which is using multiple frames and > > > some > > > javascript? > > > >

Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Olivier
ogrammer, because they can have use a syntax that you are not familiar with: Perl can be straight forward, verbose and readable or can be short, compressed and very obscure. Programmning is easy, modifying someone else code, not that much. Good luck, Olivier > Hopefully there is no steep learn

Re: What is the mean of the following syntax?

2022-08-03 Thread Olivier
t it :) Best regards, Olivier > I have the following code: > > if ($extension !~ /\*/) { > $backup = $ARGV . $extension; > } -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: What is the mean of the following syntax?

2022-08-03 Thread Olivier
reence Guide (basically the perldoc), I got it paperback bound and that had been my main documentation since. It was for Perl Version 5.000 Best regards, Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Spam?

2023-04-09 Thread Olivier
arious. So I think it is legitimate and can indicate a problem with your mail system (and mine). best regards, Olivier -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Recommendations for setting up local Perl dev environment

2023-05-23 Thread Olivier
>> Can anyone please recommend a local Perl dev install that would work on >> Windows? > > Maybe this one? > https://strawberryperl.com/ I second that. I only used Perl on Windows once and StrawberryPerl did the trick. Olivier -- -- To unsubscribe, e-mail: beginners-uns

Re: Perl version error

2023-05-31 Thread Olivier
files for Perl and compile it yourself. It takes time but usually is painless. Regards, Olivier > On 5/31/23 10:46, Ken Peng wrote: >> May 31, 2023 at 3:29 PM, "Aziz Öğütlü" wrote: >> >> >>> We are using mirdeep2 on our HPC system. When we try to call

Re: Perl version error

2023-05-31 Thread Olivier
OOps, I miss read the version of Perl, sorry. Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Communities or support

2023-06-14 Thread Olivier
ow I would be very impeded in my everyday work if I had no Perl and no other scripting language offer what I need. Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: configuring Net::SMTP

2023-07-08 Thread Olivier
gateway from the Web hosting company. Web host may limit outgoing email from any web site they host to prevent scammer web sites: they can filter whatever email you send and make sure you send legitimate stuff and you do not put their business in danger of being classified as a scam friendly busin

Re: My progress in Perl

2023-08-06 Thread Olivier
of the Perl modules may be part of the packages distriubuted for your OS. Also, for me the real strength of Perl is the strong system of regular expressions, I have an extensive use for them in each of my scripts (a software produces some logs, I have to extract some significant lines from the logs, etc.) B

Re: My progress in Perl

2023-08-07 Thread Olivier
blocks hierarchy. In my every day work, I often write scripts I will use only once, and I reuse pieces I copy from other script. As it is onetime use only, I don't care about the identation, I just cut and paste from { to }. I am not sure Python would react nicely to a nightmare of identa

Re: My progress in Perl

2023-08-08 Thread Olivier
Vlado Keselj writes: > I believe that > Perl still comes installed by default in the most popular distributions. Not in FreeBSD, and that's a shame! Olivier -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@pe

Re: Syntax of Perl

2023-10-09 Thread Olivier
I am not sure about ruby, but if we want to be chronologically correct, it's python that has a syntax that may look like Perl. Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: perlbrew

2023-11-22 Thread Olivier
uot;36 with only very minimum modifications. Best regards, Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Are there any ALSA Perl Modules?

2024-01-29 Thread Olivier
handy like parsing a config file (lot of text, regex, etc.) or calling outside script that could be written independently from the main code. Best luck, Olivier -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: What is best way for learn programming?

2024-07-31 Thread Olivier
William Torrez Corea writes: > 1 Course > 2 Books > 3 Documentation > 4 Projects My prefered way is to learn when I have an actual need. So until I have a programming project, I will not waste time to learne a new language. Olivier > > I was learning programming with a

Re: What is best way for learn programming?

2024-07-31 Thread Olivier
Jeff Pang via beginners writes: > I was leaning perl from the library of Spamassassin. :) That's a though one, SA is not the easiest piece of code! Olivier > > On 2024-08-01 09:37, i...@erickpaquin.com wrote: >> Best way like Olivier said is to do an actual real project or

process managing in Perl

2002-12-12 Thread Olivier Moulene
I have the pid of one running process and i want to kill it and all its children. What can i do to know the pids of every children ?

DBD::Oracle

2003-11-01 Thread Olivier Wirz
Hello, I try to install DBI and DBD::Oracle on a Windows XP. With DBI it works fine this way: ppm install DBI but it doesn't work with DBD::Oracle install DBD::Oracle --> Searching for 'DBD::Oracle' returned no results Is there a way to install it with ppm otherwise ?

Leading zeroes

2004-01-10 Thread Olivier Wirz
Hello, How can I suppress the leading zeroes, except one when all positions are 0; for example: 15 will be 15 00 will be 0 thank you. Olivier -- +++ GMX - die erste Adresse für Mail, Message, More +++ Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net -- To unsubscribe, e

Cobol format conversion

2004-01-10 Thread Olivier Wirz
Hello, What is the best way to convert a numeric cobol format S9(09)V9(04) in a more readable way. For example: 0100} will be -1000. 0100{ will be 1000. It works with substr and =~, but may be there is a module or another better way. Thank you. Olivier

substitution

2004-02-23 Thread Olivier Wirz
Hello, Is it possible to do this kind of substitute to change ARE in 756, TYP in 978 (not with an if) ...: $marque =~ s/(ARE|TYR|SPE)/(756|978|840)/;# don't bring the result I want. Thank you. Olivier -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) je

Dynamic load of a Perl class

2003-02-20 Thread Olivier Wirz
; use Classes::$aSport; <- doesn't work ! Who knows a solution. Many thanks. Olivier -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Array Object in an instance variable

2003-02-23 Thread Olivier Wirz
OUT=> "file1.dat",}, { IN => "file2.txt", OUT=> "file2.dat",} ); } It doesnt' work, I just have 1 hash in _definitions (the second one with f

Nomber of anonymous hashes in an anonymous array

2003-02-24 Thread Olivier Wirz
thing like this: my @definitions = self -> definitions(); my $numberOfHashes = scalar (@definitions); $numberOfHashes is 1 (and not 2). Who can help me ? Thank. Olivier -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Home

$?

2003-06-12 Thread Olivier Wirz
Hello, I would like to know if there is a way to check $? to see whether the programm ran correctly in such a statement: @results =`grep $search $_`; Thank you Olivier _ MSN Search, le moteur de recherche qui pense comme vous

Re: perl/crontab Question

2003-07-29 Thread Olivier Wirz
OF SELECT SYSDATE FROM DUAL; EOF" ); May be it will help you. Olivier From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: perl/crontab Question Date: Mon, 28 Jul 2003 14:26:31 -0600 (MDT) This may be a bit off topic, but I'll ask it.. I have a perl job I want to run out of a cron job

cr + tar

2004-03-26 Thread Olivier Wirz
rectory ", $ftp -> message; $ftp -> binary; $ftp -> put($opt_tar_file) or die "Cannot put ", $ftp -> message; $ftp -> quit; On AIX, after tar -xvf, I have the problem. Is it a way to avoid the ? Thank you. Olivier -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-

Re: cr + tar

2004-03-26 Thread Olivier Wirz
Thank you for your answer, I will try that. The target is effectively AIX - the developers work on nt but the software runs on AIX Olivier > Olivier Wirz wrote: > > > On AIX, after tar -xvf, I have the problem. Is it a way to avoid > the > > ? Thank you. > > Why

DBIx::DWIW

2004-04-09 Thread Olivier Wirz
Thank you. Olivier -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Question: Array of Hashes

2005-03-31 Thread Olivier, Wim W
27;, 'ReadTransferCount', #'SessionId', 'Status', 'TerminationDate', 'ThreadCount', 'UserModeTime', #'VirtualSize', 'WindowsVersion', 'WorkingSetSize', 'WriteOperationCount', #'WriteTransferCount', #); # get

RE: Question: Array of Hashes

2005-03-31 Thread Olivier, Wim W
Thanks Offer! It's working! Wim -Original Message- From: Offer Kaye [mailto:[EMAIL PROTECTED] Sent: 31 March 2005 02:55 PM To: Perl Beginners Subject: Re: Question: Array of Hashes On Thu, 31 Mar 2005 14:40:47 +0200, Olivier, Wim W wrote: > Hi all, > > I have the

Can't understand error

2005-04-07 Thread Olivier, Wim W
rint "$logger\n"; print "$facility\n"; print "$level\n"; print "$message\n"; system("$logger", "-h $sysloghost", "$facility", "$level", "$message"); } Kind Regards, Wim Olivier ___

GetOpt::Long

2005-04-20 Thread Olivier, Wim W
t = "[EMAIL PROTECTED]"; $subject= "ALERT"; $body = join " ", @_; $mail = new NTsendmail; $mail->send($sender, $recipient, $subject, $body); } All help apprecia

RE: GetOpt::Long

2005-04-21 Thread Olivier, Wim W
} } ==== == -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 02:31 PM To: Olivier, Wim W; Perl Beginners (E-mail) Subject: RE: GetOpt::Long Olivier, Wim W wrote:

RE: GetOpt::Long

2005-04-21 Thread Olivier, Wim W
Hi Bob, You gave me the following answer earlier: sub foo { local @ARGV = @_; GetOptions(...blah...); ... } If I run it as a seperate script, commenting out the (local @ARGV = @_;) line, then it works. But it does not work when called as a subroutine from within the ma

Re: perl script with errors?

2015-11-25 Thread Olivier Le Monnier
11. > Execution of ./prog164.pl aborted due to compilation errors. > gb@MINT ~/Perl5/perl programs $ > > > What is this error? And what am I doing wrong. Using strict mode, you should declare the variables scope with my for example… -- Olivier Le Monnier — ☎ 023156.6209 Admini