Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: designing a program - your wisdom needed

by kcott (Archbishop)
on Jan 20, 2022 at 12:36 UTC ( [id://11140642]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -e '$dbh->do("alter session set current_schema = th
    +e current schema”);'
    Can't find string terminator '"' anywhere before EOF at -e line 1.
    
    $ perl -MO=Deparse -e 'print “third script executed”;'
    Unrecognized character \xE2; marked by <-- HERE after print <-- HERE n
    +ear column 7 at -e line 1.
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    my $sdm = SpaceCowboy::Database::Module::->new($database_credentials);
    
    $sdm->$_() for qw{primary first second third};
    
  3. or download this
    package SpaceCowboy::Database::Module;
    
    ...
    # ditto for second() and third()
    
    1;
    
  4. or download this
    $self->dbh()->do($_) for @statements;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11140642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found