Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
it doesn't print "complete" and the carriage return. Why is that? I've noticed that if I remove the parens enclosing the split, it works.my $x = '2D6-324'; print (split('-',$x))," complete\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: split question
by davorg (Chancellor) on Oct 09, 2002 at 16:51 UTC | |
by emilford (Friar) on Oct 09, 2002 at 17:00 UTC | |
|
Re: split question
by zigdon (Deacon) on Oct 09, 2002 at 16:21 UTC | |
|
Re: split question
by broquaint (Abbot) on Oct 09, 2002 at 16:22 UTC | |
|
Re: split question
by jjdraco (Scribe) on Oct 09, 2002 at 16:24 UTC |