Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by lax4mike

  1. lax4mike

    dynamic scalar reference and "strict"

    i found a solution: my @param = $cgi->param; now i can loop through via @param
  2. lax4mike

    dynamic scalar reference and "strict"

    well, i have all the data in their own scalars and they are used throughout the (big) cgi. i just need to package them up and ship them to the next cgi at the end. it looks like i'm just going to have to make a giant hash and then loop through the hash. use strict; my $month = 5; my $day = 7...
  3. lax4mike

    Date conversion help!

    it looks like it could be a total number of seconds past a set date.
  4. lax4mike

    dynamic scalar reference and "strict"

    ok, here is another approach... can i read the name of a variable? I changed the list from quoted names, to the variables themselves: [code]use strict; my $month = 5; my $day = 7; my $year = 2005; my @list = ( $month, $day, $year ); foreach (@list){ print $_; }[code] now is there a way...
  5. lax4mike

    dynamic scalar reference and "strict"

    I'm getting these variables from cgi->param: my $month = $cgi->param('month') || $cgi->url_param('month'); and I have a million of those. so it would be a lot of typing to put those all in a hash. I'm just trying to think of an easier way to do this. There are two spots where i want to use...
  6. lax4mike

    dynamic scalar reference and "strict"

    Hi- I'm trying to get the value of scalars dynamicly using an array. However, I have to be using strict. This following code is exactly what I want, except this codes doesn't use "strict" $month = 5; $day = 7; $year = 2005; my @list = qw( month day year ); foreach my $name (@list){ print...

Part and Inventory Search

Back
Top