I have Perl 5.18.2 version installed in my Ubuntu 14.04 LTS.
Now I have created a custom command in geany which I am firing as below:
perl /home/ubuntu/geany_custom_cmds/get_current_directory_path.pl %f %d %e
And below is the code of get_current_directory_path.pl
file:
#!/usr/bin/perl -w# print $ARGV[0];use Clipboard;foreach $argnum (0 .. $#ARGV) { print "$ARGV[$argnum]\n"; Clipboard->copy($ARGV[$argnum]); print Clipboard->paste;}
But I am not getting any argument's value in my Ubuntu clipboard which I can paste by Ctrl + V.
Any suggestions are welcome.