in reply to Arrays with CGI perl help
my @apps = split ' ', $form{'AppName'}; [download]
The difference is in how they treat leading spaces. See split
$ perl -le'print 0+( @a = qw( a b c ) )' 3 $ perl -le'print 0+( @a = split /\s+/, " a b c " )' 4 $ perl -le'print 0+( @a = split " ", " a b c " )' 3 [download]