Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Answer: How do I split a file into separate sections?

by btrott (Parson)
on Apr 03, 2000 at 21:02 UTC ( #6730=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    TI: ...
    AU: ...
    ...
    TI: ...
    AU: ...
    JN: ...
    
  2. or download this
    TI: Foo
    AU: Bar
    JN: Baz
    
  3. or download this
    # the index is 4 because the array index starts
    # at 0, btw
    my $ti = $sections{'TI'}[4];
    my $au = $sections{'AU'}[4];
    my $jn = $sections{'JN'}[4];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-01-21 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (181 votes). Check out past polls.