Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8496387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:50:25+00:00 2026-06-10T23:50:25+00:00

# The url I’m on: https://development.cherrylanekeepsakes.com/cgi-bin/employees.cgi?action=edit_timeclock_dashboard&id=80&start_date=2012-09-01&end_date=2012-09-16&print_view=1 use URI::URL; use Data::Dumper; my $url = URI::URL->new(

  • 0
# The url I'm on: https://development.cherrylanekeepsakes.com/cgi-bin/employees.cgi?action=edit_timeclock_dashboard&id=80&start_date=2012-09-01&end_date=2012-09-16&print_view=1
use URI::URL;
use Data::Dumper;
my $url = URI::URL->new( '' . $cgi->new->url(-path_info => 1, -query => 1) );
warn Dumper($url->params('print_view'));

It gives me nothing. What am I doing wrong? This seems like a pretty simple task.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:50:27+00:00Added an answer on June 10, 2026 at 11:50 pm

    Is there a reason you’re using URI::URL instead of URI? It’s an obsolete module that only exists for backwards compatibility. It’s not even documented, so I can’t even confirm that params is suppose to do what you think it does.

    What follows is a solution using the module that replaced URI::URL. It’s even part of the same distribution.

    use URI qw( );
    my $url = URI->new('https://...');
    my %query_form = $url->query_form();
    say $query_form{print_view};
    

    Or better yet,

    use URI             qw( );
    use URI::QueryParam qw( );
    my $url = URI->new('https://...');
    say $url->query_param('print_view');
    

    Note: To assign one of the value of query_param to a scalar, you need to use parens as follows:

    my ($print_view) = $url->query_param('print_view');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

url: http://www.pagepilot.co.uk/pp_cftest/ When posted into facebook debugger: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.pagepilot.co.uk%2Fpp_cftest%2F Keeps returning a 206 Partial Response
//URL START $urlregex = ^(https?|ftp)\:\/\/; // USER AND PASS $urlregex .= ([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?; // HOSTNAME
My url is: http://www.domain.com/Seattle_WA_math It needs to point to: http://www.domain.com/list.php?city=Seattle&state=WA&s=math Here's what I have
This url ' http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=39726387 ' works perfectly well in a browser but cURL return's
URL: http://ws.audioscrobbler.com/2.0/?method=chart.gethypedtracks&api_key=1732077d6772048ccc671c754061cb18&limit=10 From the above url I need to somehow remove the Artist name
NSString *url = [NSString stringWithFormat: @http://maps.google.com/maps?saddr=%f,%f&daddr=%f,%f, currentLocation.latitude, currentLocation.longitude, coordinate.latitude, coordinate.longitude]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];
URL: http://en.wikipedia.org/w/api.php?action=parse&prop=text&page=Lost_(TV_series)&format=xml This outputs something like: <api><parse><text xml:space=preserve>text...</text></parse></api> How do I get just the
URL: http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&markers=icon:http://tinyurl.com/2ftvtt6&zoom=12&size=400x400&sensor=false I have no clue what I'm doing wrong here. Developer Guide: API
URL url = new URL(http://www.example.com/comment); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setDoOutput(true); connection.setRequestMethod(POST); Is connection.setRequestProperty(key,
URL url = new URL(http://twitter.com/statuses/update.xml); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setDoOutput(true); String cridentials =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.