Front page | perl.beginners |
Postings from August 2009
two questions
Thread Next
From:
sys adm
Date:
August 4, 2009 22:46
Subject:
two questions
Message ID:
20090804224600.CD90CB9D@resin09.mta.everyone.net
1. why perl doesn't have a built-in strip() function? each time I need to say $var =~ s/^\s+|\s+//g to strip the blank space before and after the variable, specially if this is a CGI var.
2. what's the standard module or method to generate a random string, for example the string will be used as part of url.
Thanks.
Thread Next