$string =~ s|^(\s*)(.*?)(\s*)$|$2|s;* Replacing "::" by "/" . This can be useful when you want to see if you can load a module at run time
$module =~ s|::|/|g;
eval "require $module.pm";
Parler de tout et de n'importe nawak
$string =~ s|^(\s*)(.*?)(\s*)$|$2|s;
$module =~ s|::|/|g;
eval "require $module.pm";
SET FOREIGN_KEY_CHECKS=0;
cyril@merlin:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy
my %hash1 = ( hello1 => 'world1' , foo1 => 'bar1', hello2 => 'foobar' );
my %hash2 = ( hello2 => 'world2' , foo2 => 'bar2' );
my %hash = %hash1; # %hash contains the same keys/values as hash1
@hash{keys %hash2} = values %hash2; # We merge the content of hash2 with hash
my @array = qw/hello world foo bar hello/;
my %hash;
@hash{@array} = undef;
my @array = keys(%hash);
perl -MUnicode::Escape -ne 'print Unicode::Escape::unescape($_);'/path/to/unicodetext.txt
history|awk '{a[$2]++ }END{for(i in a){print a[i] " " i}}'|sort -rn|head