in reply to Re^5: I keep getting "b/bc/Wiki.png" instead of the actual thing I want
in thread I keep getting "b/bc/Wiki.png" instead of the actual thing I want

Last login: Wed Apr 6 14:47:06 on ttys000 Nyros-MacBook-Air:~ Nyro$ perl /Users/Nyro/Documents/perl_tests/02_Fil +eNameExtract.pl String found where operator expected at /Users/Nyro/Documents/perl_tes +ts/02_FileNameExtract.pl line 717, near "my $reject1='" (Might be a runaway multi-line '' string starting on line 715) (Missing semicolon on previous line?) Bareword found where operator expected at /Users/Nyro/Documents/perl_t +ests/02_FileNameExtract.pl line 717, near "my $reject1='OKAY_I_SERIOU +SLY_CANNOT" (Do you need to predeclare my?) syntax error at /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl + line 717, near "my $reject1='" Bad name after png' at /Users/Nyro/Documents/perl_tests/02_FileNameExt +ract.pl line 717. Nyros-MacBook-Air:~ Nyro$ perl /Users/Nyro/Documents/perl_tests/02_Fil +eNameExtract.pl String found where operator expected at /Users/Nyro/Documents/perl_tes +ts/02_FileNameExtract.pl line 717, near "my $reject1='" (Might be a runaway multi-line '' string starting on line 715) (Missing semicolon on previous line?) Bareword found where operator expected at /Users/Nyro/Documents/perl_t +ests/02_FileNameExtract.pl line 717, near "my $reject1='OKAY_I_SERIOU +SLY_CANNOT" (Do you need to predeclare my?) Bareword found where operator expected at /Users/Nyro/Documents/perl_t +ests/02_FileNameExtract.pl line 718, near "my $reject2='Yum_yum" (Might be a runaway multi-line '' string starting on line 717) (Do you need to predeclare my?) syntax error at /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl + line 717, near "my $reject1='" Bad name after jpg' at /Users/Nyro/Documents/perl_tests/02_FileNameExt +ract.pl line 718. Nyros-MacBook-Air:~ Nyro$ perl /Users/Nyro/Documents/perl_tests/02_Fil +eNameExtract.pl Global symbol "$myFileN" requires explicit package name at /Users/Nyro +/Documents/perl_tests/02_FileNameExtract.pl line 747. syntax error at /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl + line 747, near "ame[" Global symbol "$url" requires explicit package name at /Users/Nyro/Doc +uments/perl_tests/02_FileNameExtract.pl line 748. Execution of /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl ab +orted due to compilation errors. Nyros-MacBook-Air:~ Nyro$ perl /Users/Nyro/Documents/perl_tests/02_Fil +eNameExtract.pl Global symbol "$myFileN" requires explicit package name at /Users/Nyro +/Documents/perl_tests/02_FileNameExtract.pl line 747. syntax error at /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl + line 747, near "ame[" Global symbol "$url" requires explicit package name at /Users/Nyro/Doc +uments/perl_tests/02_FileNameExtract.pl line 748. Execution of /Users/Nyro/Documents/perl_tests/02_FileNameExtract.pl ab +orted due to compilation errors. Nyros-MacBook-Air:~ Nyro$
  • Comment on Re^6: I keep getting "b/bc/Wiki.png" instead of the actual thing I want
  • Download Code

Replies are listed 'Best First'.
Re^7: I keep getting "b/bc/Wiki.png" instead of the actual thing I want
by Corion (Patriarch) on Apr 07, 2016 at 06:45 UTC
    String found where operator expected at /Users/Nyro/Documents/perl_tes +ts/02_FileNameExtract.pl line 717, near "my $reject1='" (Might be a runaway multi-line '' string starting on line 715) (Missing semicolon on previous line?)

    So, have you looked at line 717 and line 715? Maybe there is a mismatched single quote on line 715 or a missing semicolon on line 714.