Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 20490
Status: rejected
Priority: 0/
Queue: URI

Owner: Nobody in particular
Requestors: mshonich [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

CC: gisle [...], gisle [...]
Subject: bug on installing URI module on host with brand new CPAN Bundle
Date: Sun, 16 Jul 2006 20:09:36 +0400
To: bug-URI [...]
From: Максим Шоничев <mshonich [...]>
Download (untitled) / with headers
text/plain 835b
Hello! Recently I've tried to install this module on newly installed CPAN via following command: perl -MCPAN -e "install URI" and got following error message: can't locate method "install" via module "URI" At the same time executing "install URI" from cpan shell went smoothly. Please don't blame me for stupid question, but isn't that a bug? I mean, some other modules I've installed have gone perfectly well with the first command and only the URI module failed. I've wanted to create an auto-install for my small perl program and thus, failing to install URI module automatically (not through CPAN shell) with the first command is really annoying. Please, don't hesitate to tell me what's wrong and how else I can automatically install/check URI module in my program' installation script. Thanx in advance, Max Shonichev.
Download (untitled) / with headers
text/plain 210b
I guess this is just the way perl works. The reason it did not work is probably that itself loads the URI module, so when you run the statement "install URI" perl parse this as an indirect method call.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to