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

Re: parsing/munging problems

by OM_Zen (Scribe)
on Feb 26, 2003 at 15:40 UTC ( #238798=note: print w/replies, xml ) Need Help??

in reply to parsing/munging problems

Hi ,

my $nm = 1; my $storenum; open (Conten , "a.dat"); open (OUTP ,">storenums.dat"); while (<Conten>){ chomp; (defined $nm) ? $storenum = split('',2): print OUTP "$_$storenum\n"; undef $nm; }

This is just a way to have the storenum with the other lines of the a.dat to the storenums.dat contents

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://238798]
[Corion]: Yes, but I think there's not that much overlap in our audiences ;))
[1nickt]: Sheesh, I would have thought they would be satellite-linked somehow!
[1nickt]: Who's writing all the code this week, then?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-06-27 20:56 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (613 votes). Check out past polls.