Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    $FILE = "this is my file, i'm going to want this value later\n";
    ...
    print $FILE;
    &VARSTRUCTOR('show', 'E: subs(VARSTRUCTOR)', './varstruct.pl'); # Test
    print $FILE;
    
  2. or download this
    #
    # # Extract scalars and arrays. If not an array used in push, require 
    +an equals sign.
    # while (($FILE =~ s/([^\\]|[^\\]\\\\)([\@\$][^\d\W]\w*(\[.*?\])?)\s*=
    +//)||
    #   ($FILE =~ s/push[^\w_]*([^\\]|[^\\]\\\\)(\@[^\d\W]\w*)//))
    #