Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Timer can be created, even if provided function isn't a valid coderef

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

@sidey79 is already working on this.

Since Mar 1, 2022.

  • #9 by @sidey79 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
perl
Domain
backend

Research direction

Start by locating sub addTimer in the repository and inspect how it handles the provided function before creating a timer. Confirm that an invalid coderef is rejected and no timer is created; the payload does not name a test file or command to run.

Written by the indexing model from the issue text.

Description

sub addTimer {

should check coderef and abort if it's not valid

    if (! defined &{$func} ) {
    	carp qq[$defName, $time, $func, $arg, $initFlag invalid \n];
    }
Dominant language
Perl
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fhem/lib_timer

All issues in fhem/lib_timer

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.