semrich has asked for the wisdom of the Perl Monks concerning the following question:
Hey everybody, I'm new at Perl and I am trying to use this URL:
https://www.vwrsp.com/catalog/product/index.cgi?partnumber=$sku&sim_code=2.9&catalog_number=PAL1001&inE=1&highlight=PAL1001&reference_type=2
Where it says $sku, that will change constantly via a database, but I need a script that will change the "PAL1001" (catalog_number) each time $sku changes, so the $sku and catalog_number matches according to the site. Here is the script I used to insert the SKU I want from my database:my @sku = ('CODE TO THE DATABASE')
Hopefully this makes sense. Thanks in advance!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Script for a URL that constantly changes
by anneli (Pilgrim) on Oct 19, 2011 at 23:03 UTC | |
by semrich (Initiate) on Oct 20, 2011 at 00:00 UTC | |
Re: Script for a URL that constantly changes
by pvaldes (Chaplain) on Oct 19, 2011 at 23:57 UTC | |
by semrich (Initiate) on Oct 20, 2011 at 15:52 UTC |
Back to
Seekers of Perl Wisdom