hello i`m totaly new to perl, i have a problem... i know
what i have to do but i don`t know how to do it.
i have a file with data like this
"
8294750274534+4821 kudu AUG
3249230958867+9462 firkt BOD
482048348344+8467 kwirk NAR
3242359960+5487 mana GOW
3948585747757+48 ala SAN
348838482348+6487 kudu AEG
4234985745534+82 pira AEG
...
"

is it possible somehow to do the following
(lets take first line from file)

"8294750274534+4821 kudu AUG"

i want to have $var1=8294750274534 var2=4821 var3=kudu
var4=AUG
and to do that with every line. is it possible? if u can`t
show me how to do that plz give me a clue what should
i use to do these actions and where to get info about
it.
etc... i`m not sure but as i understand i should use
regexp or smth like that? thanks for reply.

In reply to select line from file by help

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.