Search Results

Search: Posts Made By: ayppa
16,655
Posted By ayppa
Hi Sri, I hope the below piece of code will...
Hi Sri,
I hope the below piece of code will help you. One is using regex and another is using split function.

#!/usr/bin/perl

$var = "hello world";

($first, $second) = $var =~...
1,636
Posted By ayppa
Perl Question
Hi,

Dot(.) is an regex wild card character, which is used to match single char in regex. You have to escape (.) using (\.) then only it will match like

if($field[3]=~ /\./)
{...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy