Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: PerlMonks::Mechanized (beta)

by davido (Cardinal)
on Dec 29, 2004 at 02:43 UTC ( [id://417905]=note: print w/replies, xml ) Need Help??

in reply to Re: PerlMonks::Mechanized (beta)
in thread PerlMonks::Mechanized (beta)

Thanks for your report. It's funny that the missing trailing '/' character wouldn't be a problem for me, and would for you. We're both hitting the same server. But regardless, it was a simple fix. I've annotated the fix among the update log in the root node for this thread.

You may already have noticed this by reading the module's comments and code, but you can override the default site name (which is now set as "") by setting $ENV{PMSITE} prior to creating a PM::Mech object, or (of course) by setting the PMSITE environment variable. The hard coded site name now has a trailing slash to fix your reported problem. ...and likewise if using the PMSITE environment variable, remember to use that trailing slash. I may incorporate a check for that when I go through and do more to bullet proof this module in the near future.

Glad you liked it. Aside from the positive rep, I haven't received many comments about it, so I don't know if anyone actually finds it useful. I'm nearly done rewriting the Janitors Thread Retitler to use this module, and it's made it a lot easier, so for me, it's been helpful.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417905]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-07-24 16:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.