Re: Perl script: where was I executed from?

2020-11-22 Thread Vlado Keselj
Hi, I am not sure that I completely understand your question (for example, what does it mean to run a script "dynamically or not"). You could retrieve the list of processes from OS to try to figure out how was the script ran, but it is a bit messy. Just maybe: maybe you want to see whether the s

Re: regex help - only one value returned

2020-12-02 Thread Vlado Keselj
Well, it seems that the first one is what you want, but you just need to use $1 and ignore $2. You do need parentheses in '(mr|mrs|miss|dr|prof|sir)' but if you do not want for them to be captured in $2, you can use: '(?:mr|mrs|miss|dr|prof|sir)'. For example: print "match3='$1' '$2'\n" if (

Re: controlling Firefox using Perl

2021-03-12 Thread Vlado Keselj
That is a very interesting problem. I was also researching it and noticed this package Selenium but did not try it. I would be interested to know what kind of problem you are trying to solve. Vlado On Fri, 12 Mar 2021, Gary Stainburn wrote: > Can anyone please point me to decent documentati

Re: Is this bit of scrip a reasonable way to test something

2022-01-02 Thread Vlado Keselj
It looks good to me. On Sun, 2 Jan 2022, hput via beginners wrote: > I was just coding in in ksh93 for simple script but tangled up with > way matching and regex work in ksh93. > > Finally trashed it turned to perl. > > Just have familiarity with one way of test in shell script: > > Put it i

Re: Spam?

2023-04-10 Thread Vlado Keselj
It seems to me to be a legitimate email from the email list server about problems to deliver some emails. Based on the fact that you received this email, it seems that it was only a temporary problem, but I would still check information sent. Regards, Vlado On Mon, 10 Apr 2023, Heim wrote:

Re: My progress in Perl

2023-08-08 Thread Vlado Keselj
To add my 2 cents to the original questions: > What is my purpose with this language? I use Perl a lot, it is my "go-to" language for many tasks, but I am not sure what would be good "your purpose" with the language, as you ask, since it is a subjective question. Based on your Linux signature,

Re: Tool for develop in Perl

2023-10-22 Thread Vlado Keselj
I use Emacs. On Fri, 20 Oct 2023, William Torrez Corea wrote: What tool can I use for development in Perl? I use VIM for coding and executing programs with the Perl Command Line from GNU/Linux. In addition I have installed Eclipse but the IDE is abandoned. My theory: I can make full develop