http://www.perlmonks.org?node_id=1017957


in reply to Re^2: Documentation of PDF::GetImages is lack of some info concerning the 'optionals'
in thread Documentation of PDF::GetImages is lack of some info concerning the 'optionals'

Did you try setting $abs and $opt as absolute paths?

Also, as for your other question, unless I am mistaken, it creates an array of the images created in $opt ($path). therefore, if empty returns false and dies with the error message "no images in $path".
J -

Replies are listed 'Best First'.
Re^4: Documentation of PDF::GetImages is lack of some info concerning the 'optionals'
by programmer.perl (Beadle) on Feb 09, 2013 at 13:51 UTC
    It is working! The mistake was that I didn't create the folder, I thought that Perl will create if there is no folder... Now, I created manually the folder and all is working... now, I'll write the code that will create the folder...
    Enough codes make shapes. (Hamidjon)
Re^4: Documentation of PDF::GetImages is lack of some info concerning the 'optionals'
by programmer.perl (Beadle) on Feb 09, 2013 at 13:03 UTC

    I made such but there is no result:

    my $abs = '/home/auu/Documents/Imag/file.pdf'; my $opt = '/home/auu/Documents/Imag/newfolder/';
    Enough codes make shapes. (Hamidjon)