What you generally do to separate content from delimiters is split: my $line = "Blah Blah;230;Hello;-1\n"; my @data = split(/;/, $line); Now @data will be an array of four elements, "Blah Blah", "230", "Hello" and "-1\n". In the case of retrieving data from HTML forms, the CGI.pm module usually comes in handy. You can find it at: http://www.cpan.org/modules/by-module/CGI/ At 20.36 +0200 99-04-26, gene.ray@excite.com wrote: >I have been racking my brains trying to figure out how to parse some test >from a file that has been written to from a html form. I can retrieve the >entire line but I cant seem to get the line to sepperate from its >delimiters. I'm pretty new at this and I know that this is one of the more >basic functions of Perl but I'm stumped. Any advice would be worshiped! ___Carl_Johan_Berglund_________________________ Adverb Information carl.johan.berglund@adverb.se http://www.adverb.se/ ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org