Help for this page

Select Code to Download


  1. or download this
         #... at the start of your code ...
         # notice how exception definition and message format
    ...
         Exception::Copy::Mine->throw(error => $sMsg
                                      , from => 'A.txt'
                                      , to => 'B.txt');
    
  2. or download this
        # the declaration puts the message format string and the
        # class declaration together for the programmer, thus
    ...
    
         die "Exception::Mine::Copy"->new(from=>'A.txt');