Changeset 10607


Ignore:
Timestamp:
02/07/10 15:56:08 (2 years ago)
Author:
kthakore
Message:

Fixed serious bug that was introduced with last fix. Ticket #845 is opened again. We need to fix where the Document->{file_name} is made

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Document/Perl.pm

    r10606 r10607  
    320320    chdir $dir; 
    321321     
    322     # (Ticket #845) if Padre folder/script.pl is called filename has folder/ in it so we check for that 
    323  
    324     if( $filename =~ /\\|\//) 
    325     { 
    326     my @file_name = split /\\|\//, $filename; 
    327     $filename = $file_name[$#file_name]; 
    328     } 
    329  
    330  
    331  
    332322    return $debug 
    333323        ? qq{"$perl" -Mdiagnostics(-traceonly) $run_args{interpreter} "$filename"$Script_Args} 
Note: See TracChangeset for help on using the changeset viewer.