in reply to Opera + Firefox browser Shortcut for searching CPAN & Perldoc

I think this is a nice tip, even if it is not Perl code ;-). ewijaya wrote:

Store this snippet under file: ~/.opera/search.ini

Of course a user of MSWindows (who might well be using Opera) will not have any " ~ " dir. On my MS Windows XP system I empirically determined that this expression gives the location of the file which one wants to insert the Opera "snippet" into:

perl -MFile::Spec::Functions -le "print catfile( \$ENV{USERPROFILE}=> +q[APPLIC~1]=> q[Opera/Opera7/profile/search.ini] )"

    Soren A / somian / perlspinr / Intrepid

Replies are listed 'Best First'.
A better way to locate the file
by Logomachist (Initiate) on Sep 19, 2008 at 04:21 UTC
    That script doesn't work for me, however I am using Opera 9.x, not Opera 7. If I remember correctly, the search.ini file can be located in the C:\program files\Opera\