Menu

here documents in perl statements

Help
2010-07-17
2013-03-15
  • Terrence M. Brannon

    I'm getting an error on this line """(add-to-list 'load-path "${WARES}gist.el")""" I suppose because I am using double quotes?

    include ../main.makepp
    .PHONY: all
    all:
        git clone http://github.com/defunkt/gist.el.git ${WARES}
        perl {{
        print 'github username: ';
        my $username = <STDIN>;
        print 'github API token: ';
        my $api_token = <STDIN>;
        system "git config --global github.user $username";
        system "git config --global github.token $api_token";
        use File::Butler;
        my $lines=<<EOL
    (add-to-list 'load-path "${WARES}gist.el")
    (require 'gist)
    EOL
        Butler( ${EDAN_EL}, prepend, $lines );
        }}
    
     
  • Terrence M. Brannon

    I think it's because I left semicolon out here:

     my $lines=<<EOL
    
     

Log in to post a comment.