Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Error Undefined subroutine &main::OPEN called at C:\Perl\sku_corr2.pl line 8.

by cmac (Monk)
on May 10, 2011 at 08:42 UTC ( [id://903928]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Error Undefined subroutine &main::OPEN called at C:\Perl\sku_corr2.pl line 8.
in thread Error Undefined subroutine &main::OPEN called at C:\Perl\sku_corr2.pl line 8.

If any of your input lines doesn't have 36 tabs in it, the split will leave $SKU undefined. To avoid the error message, add a line between before the print something like if (!defined $SKU) {$SKU = "<<<undef>>>"}
  • Comment on Re^3: Error Undefined subroutine &main::OPEN called at C:\Perl\sku_corr2.pl line 8.
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2026-04-13 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.