http://qs321.pair.com?node_id=906307


in reply to My split command isnt working - please advise

Given the data you've shown I'm sure not you need the first split (check for what split uses as a default).
#!/usr/bin/perl #use v5.12.2; use strict; use warnings; while(my $line = <DATA>){ chomp $line; my @nums = split(/\./, $line); print "@nums\n"; } __DATA__ 1.2.56.3 3.55.7.3