Hi!
I get the next error when trying to test my funtion "create_profile()":
Too many arguments for EDSTools::create_profile at tools-test
"$profile_ref ) "
Execution of tools-test.pl aborted due to compilation errors.
Function Call:
create_profile( $dbh, $profile_ref )
Hash Ref:
my $profile_ref ={
PROFILE_NAME => "test_profile",
SESSIONS_PER_USER => "1",
CPU_PER_SESSION => "DEFAULT",
PRIVATE_SGA => "UNLIMITED",
PASSWORD_LIFE_TIME => "90"
};
Function Definition (first lines):
sub create_profile()
{
my ($dbh, $profile_specs_ref) = @_;
my ($sql, $key, $value);
my %profile_specs = %{$profile_specs_ref};
...
What's wrong? What am I missing?
Thanks in advance for your assitance.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.