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

Re: split function

by kielstirling (Scribe)
on Jan 25, 2012 at 03:28 UTC ( #949816=note: print w/ replies, xml ) Need Help??


in reply to split function

Hi,

Kind of hard to help you with the code provided.

split returns an array so I would do something like

my @values = split ';', "123;abc;456;def;123;;123";

Then loop the array and print each element to the file

print FILE "$_,\n" foreach @values;

As for a limit I would assume that the limit would be the system memory

- Kiel Stirling


Comment on Re: split function
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-08-30 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls