Quantcast
Channel: When I run a file which is begin with "#!/usr/bin/perl -w", I get a error: "syntax error at line 153, near "=~ ?"" - Stack Overflow
Viewing all articles
Browse latest Browse all 4

When I run a file which is begin with "#!/usr/bin/perl -w", I get a error: "syntax error at line 153, near "=~ ?""

$
0
0

When I run a file which is begin with #!/usr/bin/perl -w, I get a error:

syntax error at line 153, near "=~ ?"

I try to add "#!/bin/bash", this error is not append, but I get another

error:"line 34: syntax error near unexpected token `('"

line 153 in my file:

($output_volume =~ ?^([\S]+).mnc?) && ($base_name = $1) ||  die "sharpen_volume failed: output volume does not appear to be"  ." a minc volume.\n";

line34 in my file:use MNI::Startup qw(nocputimes);


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>