Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: weird files

by Chief of Chaos (Friar)
on Nov 29, 2002 at 09:20 UTC ( [id://216451]=note: print w/replies, xml ) Need Help??


in reply to weird files

Hi,
maybe you can so :
while (<INFILE>) { $line = $_; chomp($line); next if ($line =~ /^\s*$/); push @file, split(/[\t\s]+/,$line); }
changes: misunderstood question - added split

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-20 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found