topical media & game development 
  
 
 
 
 
  
    
    
  
 basic-regex-26-MatchingVariableSubstitution.pl / pl
  #!/usr/bin/perl -w
  use strict;
  my myPattern = "she";
  print "myTestString.\n\n" if ({myPattern}ll/);
  myPattern = "car";
  print "myTestString.\n\n" if (myPattern/);
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.