in reply to Re: Arrays with CGI perl help
in thread Arrays with CGI perl help

The actual equivalent would be
my @apps = split ' ', $form{'AppName'};

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

Replies are listed 'Best First'.
Re^3: Arrays with CGI perl help
by perlnewb123 (Sexton) on Jun 25, 2009 at 17:43 UTC
    Thanks everyone!