recentpopularlog in

therobyouknow : function   60

VBScript Timer Function
get time since midnight in milliseconds. useful for creating url session ids to avoid caching
vbscript  vb  visualbasic  timer  accuracy  precision  short  milliseconds  millisecond  small  interval  howto  function  method  code  library  computing  microsoft  windows  work  time 
june 2010 by therobyouknow
SubMatches Collection
How to extract out multiple matching substrings from a string using a regular expression with grouping curved brackets to identify each substring (group)
programming  regularexpressions  visualbasic  vb  vbscript  microsoft  development  windows  computing  work  howto  grouping  group  regex  regexp  extract  extraction  split  visual  basic  submatches  function  method  subexpressions  enclosed  capturing  parentheses  index  select  multiple  substring  curved  bracket 
june 2010 by therobyouknow
How do I return multiple variables from a subroutine?
my ( $hashRef1, $hashRef2 ) = function1();

function2( $hashRef1, $hashRef2 );

sub function1
my %hash1 = ();
my %hash2 = ();
# ... some code ...
return( \%hash1, \%hash2 );

sub function2
my ( $paramHashRef1, $paramHashRef2 ) = @_;

# ... deref by %$paramHashRef1 and %$paramHashRef2 etc

perl  hash  return  argument  parameter  between  returning  function  multiple  subroutine  programming  language  computing  syntax  method  howto  advice  work  reference  dereference  passby 
march 2010 by therobyouknow
Want Perl equivalent of linux strings command to extract strings from binary file - HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
Really wanted to be able to run strings dependent Perl script on Windows to be able to debug in Komodo IDE. Rather than find pure Perl equivalent, I was advised a workaround to just download strings for Windows at: This works straight out of the box
perl  equivalent  linux  strings  command  extract  binary  file  platform  independent  platformindependent  os  operating  system  operatingsystem  function  question  problem  forum  discussion  embedded  computing  work  language  programming  solution  workaround 
november 2009 by therobyouknow
Perl's IO::Handle
how to handle perl file handles as parameters and pass them to subroutines functions
computing  programming  web  development  server  serverside  side  cgi  perl  cgibin  cgi-bin  function  file  handle  filehandle  parameter  passing  subroutine  solution  work 
august 2009 by therobyouknow

Copy this bookmark:

to read