Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi Monks, I am learning perl but come from an ICL vme background so our scl scripting is although in some ways similar the way it handles files is easy. How can i write a script that access a filename supplied by the user as the only parameter? then read each line and put the csv fields into variables. if anyone has any quick code they could let me use i would be grateful i just need to crack this and the rest should be easy i hope

In reply to Putting a filename as a parameter to a perl script then reading from it in the code? by Mikeyb0y

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [ambrus]: it's slow as hell, and the food costs significantly more.
    [ambrus]: We no longer eat there.
    LanX Everybody quotes it, some people read it, and a few people go by it
    [ambrus]: LanX: why would I read it? isn't it a book for managers? I don't want to be a manager.
    [ambrus]: I don't quote it either.
    [erix]: it's really a software book, albeit about experiences from the 60s-80s. People haven't changed all that much though.
    [erix]: a software project book, is probably more exact
    [ambrus]: Yes, but I'm not managing software teams either.
    [ambrus]: I'm not only not a restaurant manager, but also not a software manager.
    [erix]: Peter's principle says it' sonly a matter of time ;)

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (9)
    As of 2017-09-22 13:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      During the recent solar eclipse, I:









      Results (264 votes). Check out past polls.

      Notices?