![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl : split flat line's to $ | acomd2 | Shell Programming and Scripting | 7 | 07-21-2007 11:05 AM |
| split to array in perl | jaganadh | Shell Programming and Scripting | 3 | 07-06-2007 06:29 AM |
| Perl Split Command usage | maheshsri | Shell Programming and Scripting | 2 | 12-17-2006 08:30 AM |
| split question perl | reggiej | Shell Programming and Scripting | 7 | 07-21-2006 05:18 PM |
| perl split function | new2ss | Shell Programming and Scripting | 5 | 06-08-2006 11:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Split Command in Perl
Hi,
I have to split a line of the form 1232423#asdf#124324#54534#dcfg#wert#rrftt#4567 into an array in perl. I am using @fields; @fields=split('#',$line); if($fields[3] eq "1") But this is not working. By using the syntax, the statements in "if" are never executed. Please help. Thanks in advance. Regards Rochit |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|