Help for this page

Select Code to Download


  1. or download this
    for (qw(a X b)) {
        my $id = $1
    ...
       print qq{'$_' -> '$id'\n};
    
    }
    
  2. or download this
    C:/Perl_524/bin\perl.exe -w d:/exp/pm_or_regex.pl 
    Use of uninitialized value $id in concatenation (.) or string at d:/ex
    +p/pm_or_regex.pl line 5.
    'a' -> 'a'
    'X' -> ''
    'b' -> 'b'