bugGNU Octave - Bugs: bug #36729, Ocatve's perl command does not...

 
 

bug #36729: Ocatve's perl command does not look for scripts in the path

Submitter:  Kris Thielemans <krthie>
Submitted:  Mon 25 Jun 2012 05:23:27 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Kris Thielemans Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 29 Jun 2012 03:47:37 PM UTC, comment #1: 

Thanks for noticing this.  I committed a patch to the development branch of Octave which fixes this for perl and python(http://hg.savannah.gnu.org/hgweb/octave/rev/c6ae30f73946).  To access the fix you will need to build from Mercurial sources or wait until the 3.8.0 release.

Rik <rik5>
Group administrator
Mon 25 Jun 2012 05:23:27 PM UTC, original submission:  

perl('scriptfile') fails if scriptfile is not in the current directory but somewhere else in the load-path. This is different from matlab behaviour.

The attached script fixes that by using file_in_loadpath.

Kris Thielemans <krthie>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26104:  perl.patch added by krthie (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by krthie (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-29 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2012-06-25 krthie Attached File- Added perl.patch, #26104

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code