Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/iframe/includes/classes/Sql.php on line 521 Scripts < Perl < Bin-Co
In perl one would replace string without putting much thought into it. You use use the code '$str =~ s/replace_this/with_this/g;' - this is a very efficient and easy way to replace a string. However this statement uses regular expression - which is much more processor intensive than a simple string replace. In many situations I have faced, I had to use a regular expression replace where a string replace would be better. That is because perl don't have a function to do a string replace.
JavaScript Source Compressor is a perl script that can be used to compress the Javascript source file to a much smaller file. The script will replaces large variable names with smaller, generic names and removes unwanted white spaces.