RE: how do make certain that no input (keyboard + mouse paste) is outside of 7-bit ASCII in a perl script?

2011-02-02 Thread Bob McConnell
From: John Delacour > At 17:08 -0800 01/02/2011, Kenneth Wolcott wrote: > >>how do make certain that no input (keyboard + mouse paste) is outside >>of 7-bit ASCII in a perl script? > > The regular expression means that from the beginning to the end of > the (chomped) input is either nothing or

Re: how do make certain that no input (keyboard + mouse paste) is outside of 7-bit ASCII in a perl script?

2011-02-02 Thread John Delacour
At 17:08 -0800 01/02/2011, Kenneth Wolcott wrote: how do make certain that no input (keyboard + mouse paste) is outside of 7-bit ASCII in a perl script? The regular expression means that from the beginning to the end of the (chomped) input is either nothing or a string containing only charac

Re: problem getting multiple values returned from a subroutine

2011-02-02 Thread loan tran
Thank you Rob, Uri and John for your replies. I've learned great things from them. Thank to your pointers, my script is working properly. --- On Wed, 2/2/11, John Delacour wrote: > From: John Delacour > Subject: Re: problem getting multiple values returned from a subroutine > To: "loan tran"

Re: Behavior of minimal when applied to - {1,}? ot to - {0,}?

2011-02-02 Thread Chris Charley
"Rob Dixon" wrote in message news:4d48bdc7.6050...@gmx.com... On 01/02/2011 02:30, Chris Charley wrote: #!/usr/bin/perl use strict; use warnings; $_ = "[][12/21/10 18:39:22] [oasetup] [oasetup] [INFO] Installing the HPOvXpl package..."; for my $re (qw{ ^\[(.+?)\] ^\[(.*?)\] }) { my ($dt) =

Re: problem getting multiple values returned from a subroutine

2011-02-02 Thread John Delacour
At 10:51 -0800 01/02/2011, loan tran wrote: I'm having problem getting multiple values returned from a subroutine. Thanks in advance for pointers. If you want help with a problem you should present the problem as simply as possible in a runnable form and not require your helpers to wade thr

Re: Renaming with a specific spec

2011-02-02 Thread Dr.Ruud
On 2011-02-01 03:41, Harry Putnam wrote: Can anyone suggest a tool they know to be capable of the above? Get inspired by the rename script, that comes with every perl installation. http://search.cpan.org/~rmbarker/File-Rename/rename.PL -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr..