Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

eric256's scratchpad

by eric256 (Parson)
on Jun 01, 2004 at 15:33 UTC ( #358133=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub form_create : Local {
      my ($self, $c) = @_;
    ...
            $c->stash->{template} = 'books/list.tt2';
        }
    
  2. or download this
        [%- # optional, but both the beginning and the ending TT tags supp
    +ort chomping. -%]
    
    ...
        [% END -%]
        </table>
    ~
    
  3. or download this
        [% META title = 'Manual Form Book Create' -%]
    
    ...
        <pre>
        Dump of the 'authors' variable:
        </pre>
    
  4. or download this
    use strict;
    use warnings;
    ...
            return 'number' if /^\d+$/;
            return 'string';
    }
    
  5. or download this
    create or replace type body string_agg_type
       is
    ...
    create or replace FUNCTION stragg(input varchar2 )
        RETURN clob
        PARALLEL_ENABLE AGGREGATE USING string_agg_type;
    
  6. or download this
    my $p = $cgi->param("pl_copyright") || 'no';
    my $p_values = {
          'yes' => '--yes',
          'no'  => '--no' };
    my $p_cmd =  exists $p_values->{$p} ? $p_values->{$p} : '--no';
    
  7. or download this
    \documentclass[letterpaper,10pt,oneside]{book}
    \pagestyle{headings}
    ...
    \end{tabular}
    
    \end{document}
    
  8. or download this
    select topic.id, (
    SELECT id reply_id FROM (
    ...
      WHERE r = 1
    ) from nf_posts topic
    where parent_id is null
    
  9. or download this
    #!/usr/bin/perl
    use strict;
    ...
        $sock->send($data);
        sleep (rand 5);
    }
    
  10. or download this
    use strict;
    use warnings;
    ...
    
        print "Saw: \n$mess\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-01-21 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?