![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PERL Question ... | talashil | Shell Programming and Scripting | 2 | 05-02-2008 05:34 PM |
| another perl question | hankooknara | Shell Programming and Scripting | 4 | 06-28-2007 01:30 AM |
| PERL question | jerardfjay | Shell Programming and Scripting | 13 | 10-25-2005 05:53 PM |
| PERL Question | Gary Dunn | Shell Programming and Scripting | 5 | 06-30-2004 09:09 PM |
| Question about Perl | SolidSnake | Shell Programming and Scripting | 5 | 06-10-2003 10:20 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Perl Question
Hello all,
I have the following line: xxx|xxxx|xxxx|xxx.xx|xxx And i insert the values in an array. I am trying to find out if the field[3] of the array (where field[3]=xxx.xx) has the '.' character. I am using the code below but it doesn't seem to work. if($field[3]=~ /./) { $serv_info3='MMS'; print("FOUND MMS****************************"); } It seems that it founds the '.' even if it does not exists. Any help? Best regards, Christos |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|