Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

조회된 데이터가 없을때에 undefined error 발생 #2

Closed
aanoaa opened this issue Mar 8, 2017 · 1 comment
Closed

조회된 데이터가 없을때에 undefined error 발생 #2

aanoaa opened this issue Mar 8, 2017 · 1 comment

Comments

@aanoaa
Copy link
Contributor

aanoaa commented Mar 8, 2017

https://www.doortodoor.co.kr/parcel/doortodoor.do?fsp_action=PARC_ACT_002&fsp_cmd=retrieveInvNoACT&invc_no=697617657622

Can't call method "as_text" on an undefined value at /path/to/Parcel/Track/KR/CJKorea.pm line 109.

105:    for my $e (@elements) {
106:        next if $row_index++ == 0;
107:
108:        my @tds = $e->look_down( '_tag', 'td' );
109:        push @{ $result{descs} }, join( q{ }, map $_->as_text, @tds[ 1, 0, 3, 2 ] );
110:
111:        $result{result} = join( q{ }, map $_->as_text, @tds[ 1, 0 ] );
112:    }
@keedi
Copy link
Owner

keedi commented Mar 22, 2017

++@aanoaa

Sorry for late response. I've just released 0.005.

@keedi keedi closed this as completed Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants