Explain split function in perl?



Explain split function in perl?..

Answer / Wazid Ali Ansari

The "split" function in Perl splits a string into an array of substrings, based on the delimiter specified. The default delimiter is whitespace.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?

1 Answers  


How to count no of occurrence of a unique patterns in perl?

4 Answers   Ness Technologies,


Why to use perl?

1 Answers  


What is confess function in perl?

1 Answers  


What is the usage of -i and 0s options?

1 Answers  


What are hashes?

1 Answers  


Explain substr function in perl?

1 Answers  


What are arrays in perl?

1 Answers  


How does polymorphism work in perl?

1 Answers  


If you want to empty an array then how would you do that?

1 Answers  


Explain use of ‘my’ keyword in perl?

1 Answers  


What is epoch time in perl?

1 Answers  


Categories