Sunish Kapoor wrote:
Dear Mr Gunnar,
Thanks a million..it works great now
You're welcome, glad it works.
Thank you so much for your prompt support via email
The best way to thank me, and bring additional value to this
community, is to post an updated script including "use strict;" and
"use warnin
david wrote:
> Fernando wants to send the following thanks to all people who helped him on
> this topic and some explanation of what he really wants to do. He somehow
> sent it to myself only.
>
> #- forward message started -#
>
> Hello all,
>
OK, then. One subject at a t
Lonewolf wrote:
>
> Thanks for everyone's help with this one, I was stuck and knew I was missing
> something simple.. UGH. perldoc -q replace didn't turn me up with anything
> either, which was a bummer, but going off the code posted here I was able to
> do more with it.
>
> This is what I used
Something like this will skip all files with _nice at the end...
next if $file =~ /_nice$/;
unlink ($file) or die "Couldn't delete file;
(I think that would work. Untested)
Tony
-Original Message-
From: LoneWolf [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 2:23
> Hi Dan
Howdy, please post Perl questions to the list so we can all enjoy.
>
> I have this script that is not working as it should be. this
> is what it is
> supposed to be doing, take images from a directory (images
> are coming from
> camera) and renames them with the date and time of ima
And I would graciously accept your thanks if I have been of help ;-}
Happy Christmas,
Rob
- Original Message -
From: "Thomas Browner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 8:34 PM
Subject: Thanks
> I would like thank all the people on this lis
Yes. Honestly this list rocks!
> -Original Message-
> From: Thomas Browner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 3:35 PM
> To: [EMAIL PROTECTED]
> Subject: Thanks
>
>
> I would like thank all the people on this list that has been help.
>
>
>
> Thomas
>
>
on Wed, 05 Jun 2002 15:26:12 GMT, Nikola Janceski wrote:
> shouldn't it be written as this to aviod that confusion:
> my $RandomScript = $Scripts[rand(@Scripts)];
>
Yes, that's also my preferred way.
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
shouldn't it be written as this to aviod that confusion:
my $RandomScript = $Scripts[rand(@Scripts)];
> -Original Message-
> From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 11:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Thanks
> I didn't quite see why you would have to do a +1 on the following:
>
>my $RandomScript = $Scripts[int(rand($#Scripts + 1))];
The '$#array' construct returns the index of the last element of the
'@array'. 'rand $number' returns a random number between 0 (inclusive)
and $number (exclusive)
on Mon, 27 May 2002 22:26:17 GMT, [EMAIL PROTECTED]
(Patrick Dempster) wrote:
> A while ago I posted to the list a question asking if I should buy
> the perl cookbook, I was a bit concerned that the book would be
> "out of date" because of all the talk about perl 6 and such like,
With respect t
On Monday, May 27, 2002, at 03:30 , Patrick Dempster wrote:
> Sorry for the request receipt being on in this message, I forgot to turn
> it
> off after working with a different message earlier on this evening.
>
> Sorry,
> Patrick
[..]
for what it is worth
most folks wouldn't know the header
Sorry for the request receipt being on in this message, I forgot to turn it
off after working with a different message earlier on this evening.
Sorry,
Patrick
- Original Message -
From: "Patrick Dempster" <[EMAIL PROTECTED]>
To: "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Monday, May 27, 2
On Thu, 2002-03-28 at 12:26, FLAHERTY, JIM-CONT wrote:
> I made the column testname unique . But I did quite understand how to change
> to query syntax.
> Stephen told me to add where clause "Where IDENTIFIER NOT IN ( SELECT
> IDENTIFIER FROM TABLE)"
>
> I dont get what he means .. I am new to
On Thu, 6 Dec 2001, Booher Timothy B 1stLt AFRL/MNAC wrote:
> For example I have 'ABCDEFGH' and I want to get the right three letters:
>
> Right('abcdefgh',3) = 'fgh'
>
> Left can be done with substring (x,0) I am sure, but what about right?
You can still use substr, just give it a starting poin
On Thu, Dec 06, 2001 at 08:21:30AM -0600, Booher Timothy B 1stLt AFRL/MNAC wrote:
> For example I have 'ABCDEFGH' and I want to get the right three letters:
> Right('abcdefgh',3) = 'fgh'
Use a negative value for the range argument, as described in perldoc -f
substr:
void:chris~ % echo "abcdefgh"
On Thu, Dec 06, 2001 at 08:21:30AM -0600, Booher wrote:
> I am wondering how you would use the VB equivalents of Left$ and Right$ with
> perl.
TIMTOWTDI:
index, rindex are functions that do the same.
more graceful? are regexes using anchors ^ for the start or $ fro the
end. ie. /^\w{3}/ or /\w
perldoc -f substr
Just use a negative number for the offset, and it grabs characters from the
right.
Chris Spurgeon
Senior Design Technologist
[EMAIL PROTECTED]
ELECTRONIC INK
One South Broad Street
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(
On Sep 14, siren jones said:
>Where can I get more info on using localtime() function or
>POSIX::strftime?
perldoc -f localtime
For any built-in function, use
perldoc -f NAME
For the POSIX module, do
perldoc POSIX
It'll bring up the module's documentation. Search in there for
'strfti
Hi,
I'm trying to get the search word from a text/passage.
1. After finding the number of occurence of the word
in the passage, no of matches found.
2.Read the no. string with the search word as
illustrated below ("play" is word searched:
.I can "play" the piano well.
.The "play" was
On Tuesday 28 August 2001 00:51, Sunthari wrote:
> 1. What should I do , if I want to read each line of
> text with the "search word". Should I put the
> occurence of search word in an array ? (I'm not so
> sure).
Are you reading in a line at a time and looking for a particular word in the
line?
One thing to realize is that
open(WORDLIST, "wordlist")
opens a file called wordlist, not WORDLIST.
You might want to check in to getting the Learning Perl book...it is a
better beginner's book than is the Perl Cookbook.
Tanton
-Original Message-
From: webmaster
To: perl
Sent: 8/20/2001 4
22 matches
Mail list logo