greatshots has asked for the wisdom of the Perl Monks concerning the following question:
monks,
When I execute the above code I am able get the expected result (i,e) The split with '>' is working as expected. But If I store the below into a file and through file read if I apply the split it is not working as expected.#!/usr/bin/perl use strict; use warnings; my $string = qq[<th width="200px">KPI</th><th width="100px">Type</th>< +th width="75px">Data Type</th>]; my @result = split('>',$string); print "Check :",$#result,"\n";
I have no clue what is happening. could any one explain me ?<th width="200px">KPI</th><th width="100px">Type</th><th width="75px"> +Data Type</th>
Back to
Seekers of Perl Wisdom