Help for this page

Select Code to Download


  1. or download this
    my $FileName = "jimbo";
    my $t = ".tm";
    ...
    
    my $fullFileName = $FileName . $t; # the . joins them together - calle
    +d "concatenation" - do a PM search on this keyword
    print $fullFileName; # prints 'jimbo.tm'
    
  2. or download this
    unlink ($fullFileName) or die "Error! : $!\n"; 
    # die statements will kill the program if an error is encountered.
    # the error msg is contained in $! special variable and is printed
    # on exit