s, and trash the rest.
my $text = "some really long line of character";
my $trimmed_text = substr($text,0,200);
this will take the first 200 characters of the $text scalar and assign it to the
$trimmed_text. I think this is what your looking for. :)
Mike(mickalo)Blezien
=-=-=-=-=-=
ch time.
>>
>>First, is this a good idea?
>>
>>Second, which sytax (in your opinion) should I use?
>>
>>$CDMA::USER = "myusername";
>>
>>or
>>
>>use constant USER => "myusername";
>>(called like CDMA::USER.co
>>END { }
>>
>>
>>script.pl
>>
>>use strict;
>>$|++;
>>
>>push (@INC, '.');
>>
>>use FileHandle;
>>use Script;
>>
>>use vars qw(
>> $msl %msl
>&g
:
>>
>>unlink glob(".dat");
>>unlink glob(".p1");
>>
>>I have thought of popping out to the operating system as well, and deleting
>>files as well, but would rather stay in Perl.
>>
>>Any help woul