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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: florida
  • Order by date
  1. florida

    using variables in regexps

    Thanks
  2. florida

    using variables in regexps

    In the expression "if ($v =~ /\btest\b/)", the part in between the /'s is a regular expression. What does the /'s represent?? I dont see it anywhere?
  3. florida

    using variables in regexps

    If this is a reg expression?? if ($v =~ /\btest\b/) { print "booya\n" } Then this is called pattern matching?? if ($v eq 'test') { print...
  4. florida

    How do I get last day of month?

    Thanks for all the explanation. The one final question ( I promise) is why are you incrementing '$date' ($date++)?
  5. florida

    How do I get last day of month?

    Thanks for the detailed explanation. Now I just need to find how to execute this? sub LastDayOfMonth { my($year, $month) = @_; # assign parameters to variables # @_ contains the list of parameters passed to thesubroutine # they are assigned to $year and $month,respectively...
  6. florida

    How do I get last day of month?

    I tried this script and cant get it to work. I executed it and put in month and year such as March,2001 and keep getting output of 31 on every input. Also can someone please explain how the script is working such as the 'my $date = .........' and the modules part. Thanks sub...

Part and Inventory Search

Back
Top