Home  |  Linux  | Mysql  | PHP  | XML
From:John W. Krahn Date:Wed Jul  1 07:48:55 2009
Subject:Re: Substitution question
Gurunandan R. Bhat wrote:
> On Tue, 2009-06-30 at 22:47 -0700, John W. Krahn wrote:
> 
> 
>> That should be:
>>
>> $current_path =~ s|/|\\|g;
> 
> 
> Oh!!  Did not know you could use '|' as a pattern delimiter. 

Yes.  You can use just about any character.



John
-- 
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov
Navigate in group perl.beginners at sever nntp.perl.org
Previous Next


Your recent visits
Re: [PHP-DB] multiple finder
Re: SybSQLException: RAISERROR There is no object with the specifiedowner/name combination
Veracity of statement that FastCGI is always enabled cannot be disabled in PHP 5.3
Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants