Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Troubles with simple parsing

by uksza (Canon)
on Dec 19, 2004 at 02:11 UTC ( [id://415927]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [Athlon 4000+]
    price=300 euro
    ...
    price=200 euro
    produce=Intel
    description=Slower
    
  2. or download this
    %hash(
    "item"=>"Athlon 4000+",
    ...
    "produce"="AMD"
    "description="Fast");
    etc...
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
            push @descriptions, $1;
        }
    }
    
  4. or download this
    my %hash = (
        "art"          => ( shift @art ),
    ...
        "price"        => ( shift @prices ),
        "descriptions" => ( shift @descriptions) 
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://415927]
Approved by Zaxo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found