this is because your regex matches a space followed by any character. What you want is
split /\./, $pubupload;In reply to Re: using split on a string
by AidanLee
in thread using split on a string
by newatperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |