[- $tmp =~ /(.*)/ -]
Or
[- $tmp =~ /(\*)/ -]
Or
[- $tmp =~ /\(*\)/ -]
Depending on what you want to do :)
Harald
> -Original Message-
> From: Radovan Petrík [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 9:34 AM
> To: Embperl
> Subject: Problem wit
On Wed, Aug 06, 2003 at 09:34:17AM +0200, Radovan Petrík wrote:
> Hi , I have problem with this code.
>
> [- $tmp =~ /(*)/ -]
>
> What is wrong ?
Regexes are not shell globs. Try this:
[- $tmp =~ /(.*)/ -]
Jochen
--
Jochen Topf [EMAIL PROTECTED] http://www.remote.org/jochen/ +49-721-388298
Hi , I have problem with this code.
[- $tmp =~ /(*)/ -]
What is wrong ?
Thanks, Rado.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]