Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Taparip
RE: Taparip
#21
Ahh I’ve been screwing up the whole time. Which way should I try executing this command, with or without doing chmod 777? I also copy and pasted the lines noted.



Code:
SA@SA-HP:~$ perl /home/SA/Desktop/taparip.pl
syntax error at /home/SA/Desktop/taparip.pl line 29, near "my "
Global symbol "$start_topic" requires explicit package name (did you forget to declare "my $start_topic"?) at /home/SA/Desktop/taparip.pl line 29.
Global symbol "$start_topic" requires explicit package name (did you forget to declare "my $start_topic"?) at /home/SA/Desktop/taparip.pl line 101.
Execution of /home/SA/Desktop/taparip.pl aborted due to compilation errors.



Line 29 looks like this:
my $start_topic = 1;

Line 101 looks like this:
my @topic_list = scalar(@get_topics) ? @get_topics : ($start_topic .. $end_topic );




Code:
SA@SA-HP:~$ chmod 777 /home/SA/Downloads/taparip-master/taparip.pl
SA@SA-HP:~$ perl /home/SA/Downloads/taparip-master/taparip.pl
Gathering data from https://https://www.tapatalk.com/groups/group//viewtopic.php
DBI connect('dbname=/home/SA/Downloads/ForumRip','',...) failed: unable to open database file at /home/SA/Downloads/taparip-master/taparip.pl line 267.
Can't call method "selectall_arrayref" on an undefined value at /home/SA/Downloads/taparip-master/taparip.pl line 90.
SA@SA-HP:~$


Line 90:
my %seen_users = map {$_->[0] => 1} @{ $dbh->selectall_arrayref("SELECT username FROM users") };

Line 267:
my $dbh = DBI->connect("dbi:SQLite:dbname=$db_file","","");
Reply


Messages In This Thread
Taparip - by SignalAffairs - 07-23-2020, 05:55 PM
RE: Taparip - by Labster - 07-23-2020, 11:55 PM
RE: Taparip - by SignalAffairs - 07-24-2020, 11:36 AM
RE: Taparip - by Labster - 07-24-2020, 05:15 PM
RE: Taparip - by SignalAffairs - 07-25-2020, 11:20 AM
RE: Taparip - by Black Aeronaut - 07-25-2020, 03:31 AM
RE: Taparip - by Labster - 07-25-2020, 05:22 AM
RE: Taparip - by Labster - 07-25-2020, 09:42 PM
RE: Taparip - by SignalAffairs - 07-26-2020, 10:17 AM
RE: Taparip - by Labster - 07-29-2020, 04:04 AM
RE: Taparip - by SignalAffairs - 07-29-2020, 04:20 PM
RE: Taparip - by SignalAffairs - 08-01-2020, 06:11 PM
RE: Taparip - by Bob Schroeck - 08-01-2020, 10:32 PM
RE: Taparip - by Labster - 08-03-2020, 06:10 PM
RE: Taparip - by SignalAffairs - 08-04-2020, 05:35 PM
RE: Taparip - by Labster - 08-04-2020, 05:47 PM
RE: Taparip - by SignalAffairs - 08-04-2020, 10:00 PM
RE: Taparip - by Labster - 08-12-2020, 04:05 AM
RE: Taparip - by SignalAffairs - 08-13-2020, 12:01 AM
RE: Taparip - by Labster - 08-13-2020, 12:20 AM
RE: Taparip - by SignalAffairs - 08-13-2020, 05:32 PM
RE: Taparip - by Labster - 08-13-2020, 07:13 PM
RE: Taparip - by SignalAffairs - 08-14-2020, 03:33 PM
RE: Taparip - by SignalAffairs - 09-14-2020, 12:31 AM
RE: Taparip - by Labster - 09-17-2020, 02:33 AM
RE: Taparip - by SignalAffairs - 09-18-2020, 09:03 AM
RE: Taparip - by Labster - 09-18-2020, 06:02 PM
RE: Taparip - by Nick_nl - 02-04-2021, 02:28 PM
RE: Taparip - by Black Aeronaut - 02-05-2021, 05:27 AM
RE: Taparip - by Bob Schroeck - 02-05-2021, 09:01 AM
RE: Taparip - by robkelk - 02-05-2021, 10:45 AM
RE: Taparip - by Nick_nl - 02-05-2021, 12:49 PM
RE: Taparip - by Labster - 02-06-2021, 05:36 AM
RE: Taparip - by Bob Schroeck - 02-06-2021, 04:10 PM
RE: Taparip - by Nick_nl - 02-09-2021, 01:27 PM
RE: Taparip - by Bob Schroeck - 02-09-2021, 01:49 PM
RE: Taparip - by Nick_nl - 02-11-2021, 02:21 PM
RE: Taparip - by Bob Schroeck - 02-11-2021, 04:53 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)