Perl and split

  • Thread starter Thread starter k++
  • Start date Start date

k++

k++

Associate
Joined
5 Oct 2004
Posts
585
Location
London
Hi

I need to split a string by the forward slash character and I am completely out of ideas.

I have tried split (/[/]/, $string) however this throws an error because of an unmatched [.

regards

Karl
 
tried everything, but managed to make it work with '/' without any surrounding forward slashes :)

thanks anyway.
 
Back
Top Bottom