목록Library (3)
준호씨의 블로그
절대경로 use lib '/Users/junho85/perl-lib'; 상대경로 FindBin 모듈 이용 use FindBin; use lib "$FindBin::Bin/./lib"; perl 모듈 경로 perl -V 해 보면 기본적으로 참조 하는 라이브러리 경로들을 확인 할 수 있다. @INC: /Users/junho85/perl5/lib/perl5 /Users/junho85/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/darwin-2level /Users/junho85/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 /Users/junho85/perl5/perlbrew/perls/perl-5.26.1/..
라이브러리 파일은 실행이 안된다고 생각 했는데 실행이 되는 라이브러리들이 있다. libc 실행해 보니 버전 정보를 표시해 준다. $ /lib/libc.so.6 GNU C Library stable release version 2.12, by Roland McGrath et al. Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.7 20120313..
GNU Mailutils GNU Mailutils curl curl github 사용법이 간단한편이다. curl 은 보통 http 요청 할 때 많이 사용하는데, curl 을 종종 사용하는 사람들 조차도 smtp 가 된다는 사실에 놀라곤 한다. 문제점 수신자가 여러명일 때 한명이라도 실패 하면 모두 실패한다. 보통 수신자가 여러명일 때 rcpt to 2개 중 1개가 실패 해도 발송이 되어야 되는데 curl 에서는 실패한다. https://github.com/curl/curl/issues/2483 이것은 known issue 이다. 2012년 부터 알려진 이슈이지만 아직 수정 되지 않았다. 짬나면 기여해 봐야 겠다. libquickmail libquickmail curl 을 랩핑 해 둔 라이브러리라고 보면 ..