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
sorting anonymous arrays inside arrays
Perl script to monitor memory usage on unix box
Re: Perl script to monitor memory usage on unix box
Substitution question
exit status



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants