develooper Front page | perl.beginners | Postings from August 2009

two questions

Thread Next
sys adm
August 4, 2009 22:46
two questions
Message ID:
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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About